Class HighsSolverConfiguration14x
Inherited Members
Namespace: OPTANO.Modeling.Optimization.Solver.Highs14x
Assembly: Optimization.Solver.Highs14x.dll
Syntax
public class HighsSolverConfiguration14x : SolverConfiguration
Properties
DualFeasibilityTolerance
"Dual feasibility tolerance type: double, advanced: false, range: [1e-10, inf], default: 1e-07
Declaration
[OptionName("dual_feasibility_tolerance")]
public double DualFeasibilityTolerance { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
HighsAnalysisLevel
"Analysis level in HiGHS type: HighsInt, advanced: false, range: {0, 63}, default: 0
Declaration
[OptionName("highs_analysis_level")]
public int HighsAnalysisLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
HighsDebugLevel
"Debugging level in HiGHS type: HighsInt, advanced: false, range: {0, 3}, default: 0
Declaration
[OptionName("highs_debug_level")]
public int HighsDebugLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
InfiniteBound
"Limit on |constraint bound|: values larger than this will be treated as infinite type: double, advanced: false, range: [1e+15, inf], default: 1e+20
Declaration
[OptionName("infinite_bound")]
public double InfiniteBound { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
InfiniteCost
"Limit on cost coefficient: values larger than this will be treated as infinite type: double, advanced: false, range: [1e+15, inf], default: 1e+20
Declaration
[OptionName("infinite_cost")]
public double InfiniteCost { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
IpmIterationLimit
"Iteration limit for IPM solver type: HighsInt, advanced: false, range: {0, 2147483647}, default: 2147483647
Declaration
[OptionName("ipm_iteration_limit")]
public int IpmIterationLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
IpmOptimalityTolerance
"IPM optimality tolerance type: double, advanced: false, range: [1e-12, inf], default: 1e-08
Declaration
[OptionName("ipm_optimality_tolerance")]
public double IpmOptimalityTolerance { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
LargeMatrixValue
"Upper limit on |matrix entries|: values larger than this will be treated as infinite type: double, advanced: false, range: [1, inf], default: 1e+15
Declaration
[OptionName("large_matrix_value")]
public double LargeMatrixValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
LogToConsole
"Enables or disables console logging type: bool, advanced: false, range: {false, true}, default: true
Declaration
[OptionName("log_to_console")]
public bool LogToConsole { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
MipDetectSymmetry
"Whether symmetry should be detected type: bool, advanced: false, range: {false, true}, default: true
Declaration
[OptionName("mip_detect_symmetry")]
public bool MipDetectSymmetry { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
MipFeasibilityTolerance
"MIP feasibility tolerance type: double, advanced: false, range: [1e-10, inf], default: 1e-06
Declaration
[OptionName("mip_feasibility_tolerance")]
public double MipFeasibilityTolerance { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
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
[OptionName("mip_rel_gap")]
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
Absolute MIP optimality gap (MIP only). The MIP solver will terminate (with an optimal result) when the absolute gap between the lower and upper objective bound is less than MIPGapAbs.
Declaration
[OptionName("mip_abs_gap")]
public override double MIPGapAbs { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The MIP gap abs. |
Overrides
MipHeuristicEffort
"effort spent for MIP heuristics type: double, advanced: false, range: [0, 1], default: 0.05
Declaration
[OptionName("mip_heuristic_effort")]
public double MipHeuristicEffort { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
MipLpAgeLimit
"maximal age of dynamic LP rows before they are removed from the LP relaxation type: HighsInt, advanced: false, range: {0, 32767}, default: 10
Declaration
[OptionName("mip_lp_age_limit")]
public int MipLpAgeLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
MipMaxLeaves
"MIP solver max number of leave nodes type: HighsInt, advanced: false, range: {0, 2147483647}, default: 2147483647
Declaration
[OptionName("mip_max_leaves")]
public int MipMaxLeaves { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
MipMaxNodes
"MIP solver max number of nodes type: HighsInt, advanced: false, range: {0, 2147483647}, default: 2147483647
Declaration
[OptionName("mip_max_nodes")]
public int MipMaxNodes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
MipMaxStallNodes
"MIP solver max number of nodes where estimate is above cutoff bound type: HighsInt, advanced: false, range: {0, 2147483647}, default: 2147483647
Declaration
[OptionName("mip_max_stall_nodes")]
public int MipMaxStallNodes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
MipPoolAgeLimit
"maximal age of rows in the cutpool before they are deleted type: HighsInt, advanced: false, range: {0, 1000}, default: 30
Declaration
[OptionName("mip_pool_age_limit")]
public int MipPoolAgeLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
MipPoolSoftLimit
"soft limit on the number of rows in the cutpool for dynamic age adjustment type: HighsInt, advanced: false, range: {1, 2147483647}, default: 10000
Declaration
[OptionName("mip_pool_soft_limit")]
public int MipPoolSoftLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
MipPscostMinreliable
"minimal number of observations before pseudo costs are considered reliable type: HighsInt, advanced: false, range: {0, 2147483647}, default: 8
Declaration
[OptionName("mip_pscost_minreliable")]
public int MipPscostMinreliable { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
MipReportLevel
"MIP solver reporting level type: HighsInt, advanced: false, range: {0, 2}, default: 1
Declaration
[OptionName("mip_report_level")]
public int MipReportLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
ObjectiveBound
"Objective bound for termination type: double, advanced: false, range: [-inf, inf], default: inf
Declaration
[OptionName("objective_bound")]
public double ObjectiveBound { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
ObjectiveTarget
"Objective target for termination type: double, advanced: false, range: [-inf, inf], default: -inf
Declaration
[OptionName("objective_target")]
public double ObjectiveTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
OutputFlag
"Enables or disables solver output type: bool, advanced: false, range: {false, true}, default: true
Declaration
[OptionName("output_flag")]
public bool OutputFlag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Parallel
"Parallel option: "off", "choose" or "on" type: string, advanced: false, default: "choose"
Declaration
[OptionName("parallel")]
public string Parallel { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Presolve
"Presolve option: "off", "choose" or "on" type: string, advanced: false, default: "choose"
Declaration
[OptionName("presolve")]
public string Presolve { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PrimalFeasibilityTolerance
"Primal feasibility tolerance type: double, advanced: false, range: [1e-10, inf], default: 1e-07
Declaration
[OptionName("primal_feasibility_tolerance")]
public double PrimalFeasibilityTolerance { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
RandomSeed
"random seed used in HiGHS type: HighsInt, advanced: false, range: {0, 2147483647}, default: 0
Declaration
[OptionName("random_seed")]
public int RandomSeed { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Ranging
"Compute cost, bound, RHS and basic solution ranging: "off" or "on" type: string, advanced: false, default: "off"
Declaration
[OptionName("ranging")]
public string Ranging { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SimplexCrashStrategy
"Strategy for simplex crash: off / LTSSF / Bixby (0/1/2) type: HighsInt, advanced: false, range: {0, 9}, default: 0
Declaration
[OptionName("simplex_crash_strategy")]
public int SimplexCrashStrategy { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SimplexDualEdgeWeightStrategy
"Strategy for simplex dual edge weights: Choose / Dantzig / Devex / Steepest Edge (-1/0/1/2) type: HighsInt, advanced: false, range: {-1, 3}, default: -1
Declaration
[OptionName("simplex_dual_edge_weight_strategy")]
public int SimplexDualEdgeWeightStrategy { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SimplexIterationLimit
"Iteration limit for simplex solver type: HighsInt, advanced: false, range: {0, 2147483647}, default: 2147483647
Declaration
[OptionName("simplex_iteration_limit")]
public int SimplexIterationLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SimplexMaxConcurrency
"Maximum level of concurrency in parallel simplex type: HighsInt, advanced: false, range: {1, 8}, default: 8
Declaration
[OptionName("simplex_max_concurrency")]
public int SimplexMaxConcurrency { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SimplexMinConcurrency
"Minimum level of concurrency in parallel simplex type: HighsInt, advanced: false, range: {1, 8}, default: 1
Declaration
[OptionName("simplex_min_concurrency")]
public int SimplexMinConcurrency { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SimplexPrimalEdgeWeightStrategy
"Strategy for simplex primal edge weights: Choose / Dantzig / Devex (-1/0/1) type: HighsInt, advanced: false, range: {-1, 1}, default: -1
Declaration
[OptionName("simplex_primal_edge_weight_strategy")]
public int SimplexPrimalEdgeWeightStrategy { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SimplexScaleStrategy
"Simplex scaling strategy: off / choose / equilibration / forced equilibration / max value 0 / max value 1 (0/1/2/3/4/5) type: HighsInt, advanced: false, range: {0, 5}, default: 1
Declaration
[OptionName("simplex_scale_strategy")]
public int SimplexScaleStrategy { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SimplexStrategy
"Strategy for simplex solver type: HighsInt, advanced: false, range: {0, 4}, default: 1
Declaration
[OptionName("simplex_strategy")]
public int SimplexStrategy { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SimplexUpdateLimit
"Limit on the number of simplex UPDATE operations type: HighsInt, advanced: false, range: {0, 2147483647}, default: 5000
Declaration
[OptionName("simplex_update_limit")]
public int SimplexUpdateLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SmallMatrixValue
"Lower limit on |matrix entries|: values smaller than this will be treated as zero type: double, advanced: false, range: [1e-12, inf], default: 1e-09
Declaration
[OptionName("small_matrix_value")]
public double SmallMatrixValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
SolutionFile
"Solution file type: string, advanced: false, default: ""
Declaration
[OptionName("solution_file")]
public string SolutionFile { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Solver
"Solver option: "simplex", "choose" or "ipm" type: string, advanced: false, default: "choose"
Declaration
[OptionName("solver")]
public string Solver { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Threads
"number of threads used by HiGHS (0: automatic) type: HighsInt, advanced: false, range: {0, 2147483647}, default: 0
Declaration
[OptionName("threads")]
public int Threads { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
WriteSolutionStyle
"Write the solution in style: 0=>Raw (computer-readable); 1=>Pretty (human-readable) type: HighsInt, advanced: false, range: {0, 1}, default: 0
Declaration
[OptionName("write_solution_style")]
public int WriteSolutionStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
WriteSolutionToFile
"Write the primal and dual solution to a file type: bool, advanced: false, range: {false, true}, default: false
Declaration
[OptionName("write_solution_to_file")]
public bool WriteSolutionToFile { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
GetHighsBoolOptions()
Declaration
public IEnumerable<HighsOption<int>> GetHighsBoolOptions()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<HighsOption<System.Int32>> |
GetHighsDoubleOptions()
Declaration
public IEnumerable<HighsOption<double>> GetHighsDoubleOptions()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<HighsOption<System.Double>> |
GetHighsIntOptions()
Declaration
public IEnumerable<HighsOption<int>> GetHighsIntOptions()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<HighsOption<System.Int32>> |
GetHighsStringOptions()
Declaration
public IEnumerable<HighsOption<string>> GetHighsStringOptions()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<HighsOption<System.String>> |