# SimplexSolverParams Class

**Solver Foundation 3.0**

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Defines the parameters used by the simplex solver.

**Namespace:**Microsoft.SolverFoundation.Solvers

**Assembly:**Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

The SimplexSolverParams type exposes the following members.

Name | Description | |
---|---|---|

SimplexSolverParams() | Initializes a new instance of the SimplexSolverParams class. | |

SimplexSolverParams(Func<TResult>) | Initializes a new instance of the SimplexSolverParams class. | |

SimplexSolverParams(Directive) | Initializes a new instance of the SimplexSolverParams class using the specified directive. | |

SimplexSolverParams(SimplexSolverParams) | Initializes a new instance of the SimplexSolverParams class. |

Name | Description | |
---|---|---|

Abort | Gets or sets a value that specifies whether the solver should stop. | |

Algorithm | Gets or sets the type of simplex algorithm to use. | |

Costing | Gets or sets the simplex costing. | |

CostTolerance | Gets or sets the numeric tolerance for simplex pricing. | |

CutKinds | Gets or sets the kinds of cuts that are generated. | |

GeometricScalingThreshold | Gets or sets the threshold of geometric scaling in the reduced model. | |

GetInfeasibilityReport | Gets or sets a value that specifies whether to create an infeasibility report. | |

GetSensitivityReport | Gets or sets a value that specifies whether to create a sensitivity report. | |

InitialBasisKind | Gets or sets the initial basis for the simplex solver. | |

KindOfSolver | Gets the type of solver to use. | |

MaxGeometricScalingIterations | Gets or sets the upper limit for geometric scaling in the reduced model. | |

MaxPivotCount | Gets or sets the upper limit for pivot count. | |

MixedIntegerBranchingStrategyPostFeasibility | Gets or sets the method that the solver uses after feasibility to select variables to branch on. | |

MixedIntegerBranchingStrategyPreFeasibility | Gets or sets the method that the solver uses before feasibility to select variables to branch on. | |

MixedIntegerGapTolerance | Gets or sets the tolerance to declare an integer solution optimal. | |

MixedIntegerGenerateCuts | Gets or sets a value that specifies whether to generate cuts. | |

MixedIntegerGomoryCutRoundLimit | Gets or sets the limit on generating cutting planes. | |

MixedIntegerNodePresolve | Gets or sets a value that indicates whether to perform presolve during a search. | |

MixedIntegerPresolve | Gets or sets a value that specifies whether to presolve a model. | |

MixedIntegerSearchStrategy | Gets or sets the search strategy for finding an optimal integer solution. | |

PresolveLevel | Gets or sets the level of presolve that the simplex solver applies. | |

QueryAbort | Gets or sets the callback function that determines when to stop a computation. | |

ShiftBounds | Gets or sets a value that specifies whether to shift variable bounds. | |

Solving | Gets or sets the callback function that is called during the solve process. | |

UseDouble | Gets or sets a value that indicates whether to use double arithmetic. | |

UseExact | Gets or sets a value that specifies whether to use exact arithmetic. | |

VariableFeasibilityTolerance | Gets or sets the numerical tolerance for variables. |

Name | Description | |
---|---|---|

Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |

Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |

GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |

GetType | Gets the Type of the current instance. (Inherited from Object.) | |

MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |

NotifyEndFactorization | Defines the callback function called after matrix factorization. | |

NotifyEndPivot | Defines the callback function called after the pivot. | |

NotifyFindNext | Defines the callback function called when the simplex solver find the next pair of pivoting variables. | |

NotifyStartFactorization | Defines the callback function called before matrix factorization. | |

NotifyStartPivot | Defines the callback function called before the pivot. | |

NotifyStartSolve | Defines the callback function called before a solver starts. | |

ShouldAbort | Returns a value that indicates whether the solver should stop. | |

ToString | Returns a string that represents the current object. (Inherited from Object.) |

The properties in the SimplexSolverParams object are examined once by the solver when the SimplexSolver.Solve(ISolverParameters) or SimplexSolver.Solve(SimplexSolverParams[]) method is invoked. To adjust these properties during the solve process, stop the solver by using the Abort property, modify the properties, and then re-invoke the SimplexSolver.Solve(ISolverParameters) or SimplexSolver.Solve(SimplexSolverParams[]) method.

Show: