Class GLPKSolverConfiguration
A configuration for the GLPKSolver.
Inherited Members
Namespace: OPTANO.Modeling.Optimization.Solver.GLPK
Assembly: Optimization.Solver.GLPK.dll
Syntax
public class GLPKSolverConfiguration : SolverConfiguration
Constructors
GLPKSolverConfiguration()
Initializes a new instance of the GLPKSolverConfiguration class.
Declaration
public GLPKSolverConfiguration()
Fields
MixedIntegerParameters
The integer optimization parameters that refer to org.gnu.glpk.glp_iocp.
Declaration
public glp_iocp MixedIntegerParameters
Field Value
Type | Description |
---|---|
glp_iocp |
SimplexParameters
The simplex parameters that refer to org.gnu.glpk.glp_smcp.
Declaration
public glp_smcp SimplexParameters
Field Value
Type | Description |
---|---|
glp_smcp |
Properties
LogOutput
Gets or sets the log output writer. If no writer is specified, System.Console.Out will be used as default output.
Declaration
public TextWriter LogOutput { get; set; }
Property Value
Type | Description |
---|---|
System.IO.TextWriter |
MIPGap
Relative MIP optimality gap (MIP only). The MIP solver will terminate (with an optimal result) when the relative gap between the lower and upper objective bound is less than MIPGap.
Declaration
public override double MIPGap { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Sets a relative tolerance on the gap between the best integer objective and the objective of the best node remaining. When the value
falls below the value of this parameter, the mixed integer optimization is stopped.
For example, to instruct CPLEX to stop as soon as it has found a feasible integer solution proved to be within five percent of optimal, set the relative mipgap tolerance to |
Overrides
MIPGapAbs
GLPK does not support absolute MIP Gaps. Try using a relative MIPGap instead.
Declaration
public override double MIPGapAbs { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Overrides
TimeLimit
Limits the total time expended (in seconds).
Setter also updates SimplexParameters.tm_lim and MixedIntegerParameters.tm_lim to the given value
.
Declaration
public override double TimeLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The time limit in seconds. |