Click or drag to resize

PrimalSimplexSolverParams Class

Note: This API is now obsolete.

Primal simplex algorithm parameters.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreSimplexSolverParamsBase
    CenterSpace.NMath.CorePrimalSimplexSolverParams

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
[ObsoleteAttribute("No longer needed with new ORTools LP and MIP classes.")]
public class PrimalSimplexSolverParams : SimplexSolverParamsBase

The PrimalSimplexSolverParams type exposes the following members.

Constructors
 NameDescription
Public methodPrimalSimplexSolverParams Constructs a PrimalSimplexSolverParams object with default values: Costing - Steepest Edge, MaxPivotCount - no limit, Minimize - false.
Public methodPrimalSimplexSolverParams(Int32) Constructs a PrimalSimplexSolverParams with the given maximum pivot count. The solver will stop and the result will be SolverInterrupted if this maximum is met. The rest of the solver parameters will have their default values: Costing - Steepest Edge, Minimize - false.
Public methodPrimalSimplexSolverParams(PrimalSimplexCosting) Constructs a PrimalSimplexSolverParams object with the given costing option and default values for the other parameters: MaxPivotCount - no limit, Minimize - false.
Public methodPrimalSimplexSolverParams(Int32, PrimalSimplexCosting) Constructs a PrimalSimplexSolverParams with the given maximum pivot count and costing option. The solver will stop and the result will be SolverInterrupted if this maximum is met. The rest of the solver parameters will have their default values: Minimize - false.
Top
Properties
 NameDescription
Public propertyCosting Gests and sets the costing (pivoting) parameter.
Public propertyMaxPivotCount Gets and sets the maximum number of pivots the simplex algorithm will perform before stopping. If this maximum is met the solver will stop and the result will be SolverInterrupted
(Inherited from SimplexSolverParamsBase)
Public propertyMinimize Set Minimize to true if you want the objective function minimized, set to false to maximize the objective function.
(Inherited from SimplexSolverParamsBase)
Top
See Also