Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.LinearSolver.MPSolverParameters Class Reference
Inheritance diagram for Google.OrTools.LinearSolver.MPSolverParameters:

Public Types

enum  DoubleParam { RELATIVE_MIP_GAP = 0 , PRIMAL_TOLERANCE = 1 , DUAL_TOLERANCE = 2 }
 
enum  IntegerParam { PRESOLVE = 1000 , LP_ALGORITHM = 1001 , INCREMENTALITY = 1002 , SCALING = 1003 }
 
enum  PresolveValues { PRESOLVE_OFF = 0 , PRESOLVE_ON = 1 }
 
enum  LpAlgorithmValues { DUAL = 10 , PRIMAL = 11 , BARRIER = 12 }
 
enum  IncrementalityValues { INCREMENTALITY_OFF = 0 , INCREMENTALITY_ON = 1 }
 
enum  ScalingValues { SCALING_OFF = 0 , SCALING_ON = 1 }
 

Public Member Functions

void Dispose ()
 
 MPSolverParameters ()
 
void SetDoubleParam (MPSolverParameters.DoubleParam param, double value)
 
void SetIntegerParam (MPSolverParameters.IntegerParam param, int value)
 
double GetDoubleParam (MPSolverParameters.DoubleParam param)
 
int GetIntegerParam (MPSolverParameters.IntegerParam param)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Properties

static double kDefaultRelativeMipGap [get]
 
static double kDefaultPrimalTolerance [get]
 
static double kDefaultDualTolerance [get]
 
static MPSolverParameters.PresolveValues kDefaultPresolve [get]
 
static MPSolverParameters.IncrementalityValues kDefaultIncrementality [get]
 

Detailed Description

Definition at line 15 of file MPSolverParameters.cs.

Member Enumeration Documentation

◆ DoubleParam

Enumerator
RELATIVE_MIP_GAP 
PRIMAL_TOLERANCE 
DUAL_TOLERANCE 

Definition at line 118 of file MPSolverParameters.cs.

◆ IncrementalityValues

Enumerator
INCREMENTALITY_OFF 
INCREMENTALITY_ON 

Definition at line 142 of file MPSolverParameters.cs.

◆ IntegerParam

Enumerator
PRESOLVE 
LP_ALGORITHM 
INCREMENTALITY 
SCALING 

Definition at line 124 of file MPSolverParameters.cs.

◆ LpAlgorithmValues

Enumerator
DUAL 
PRIMAL 
BARRIER 

Definition at line 136 of file MPSolverParameters.cs.

◆ PresolveValues

Enumerator
PRESOLVE_OFF 
PRESOLVE_ON 

Definition at line 131 of file MPSolverParameters.cs.

◆ ScalingValues

Enumerator
SCALING_OFF 
SCALING_ON 

Definition at line 147 of file MPSolverParameters.cs.

Constructor & Destructor Documentation

◆ MPSolverParameters()

Google.OrTools.LinearSolver.MPSolverParameters.MPSolverParameters ( )
inline

Definition at line 97 of file MPSolverParameters.cs.

Member Function Documentation

◆ Dispose() [1/2]

void Google.OrTools.LinearSolver.MPSolverParameters.Dispose ( )
inline

Definition at line 45 of file MPSolverParameters.cs.

◆ Dispose() [2/2]

virtual void Google.OrTools.LinearSolver.MPSolverParameters.Dispose ( bool disposing)
inlineprotectedvirtual

Definition at line 50 of file MPSolverParameters.cs.

◆ GetDoubleParam()

double Google.OrTools.LinearSolver.MPSolverParameters.GetDoubleParam ( MPSolverParameters.DoubleParam param)
inline

Definition at line 108 of file MPSolverParameters.cs.

◆ GetIntegerParam()

int Google.OrTools.LinearSolver.MPSolverParameters.GetIntegerParam ( MPSolverParameters.IntegerParam param)
inline

Definition at line 113 of file MPSolverParameters.cs.

◆ SetDoubleParam()

void Google.OrTools.LinearSolver.MPSolverParameters.SetDoubleParam ( MPSolverParameters.DoubleParam param,
double value )
inline

Definition at line 100 of file MPSolverParameters.cs.

◆ SetIntegerParam()

void Google.OrTools.LinearSolver.MPSolverParameters.SetIntegerParam ( MPSolverParameters.IntegerParam param,
int value )
inline

Definition at line 104 of file MPSolverParameters.cs.

Member Data Documentation

◆ swigCMemOwn

bool Google.OrTools.LinearSolver.MPSolverParameters.swigCMemOwn
protected

Definition at line 17 of file MPSolverParameters.cs.

Property Documentation

◆ kDefaultDualTolerance

double Google.OrTools.LinearSolver.MPSolverParameters.kDefaultDualTolerance
staticget

Definition at line 76 of file MPSolverParameters.cs.

◆ kDefaultIncrementality

MPSolverParameters.IncrementalityValues Google.OrTools.LinearSolver.MPSolverParameters.kDefaultIncrementality
staticget

Definition at line 90 of file MPSolverParameters.cs.

◆ kDefaultPresolve

MPSolverParameters.PresolveValues Google.OrTools.LinearSolver.MPSolverParameters.kDefaultPresolve
staticget

Definition at line 83 of file MPSolverParameters.cs.

◆ kDefaultPrimalTolerance

double Google.OrTools.LinearSolver.MPSolverParameters.kDefaultPrimalTolerance
staticget

Definition at line 69 of file MPSolverParameters.cs.

◆ kDefaultRelativeMipGap

double Google.OrTools.LinearSolver.MPSolverParameters.kDefaultRelativeMipGap
staticget

Definition at line 62 of file MPSolverParameters.cs.


The documentation for this class was generated from the following file: