Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Classes | |
enum | DoubleParam |
enum | IncrementalityValues |
enum | IntegerParam |
enum | LpAlgorithmValues |
enum | PresolveValues |
enum | ScalingValues |
Public Member Functions | |
synchronized void | delete () |
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) |
Static Public Member Functions | |
static double | getKDefaultRelativeMipGap () |
static double | getKDefaultPrimalTolerance () |
static double | getKDefaultDualTolerance () |
static MPSolverParameters.PresolveValues | getKDefaultPresolve () |
static MPSolverParameters.IncrementalityValues | getKDefaultIncrementality () |
Protected Member Functions | |
MPSolverParameters (long cPtr, boolean cMemoryOwn) | |
void | finalize () |
Static Protected Member Functions | |
static long | getCPtr (MPSolverParameters obj) |
static long | swigRelease (MPSolverParameters obj) |
Protected Attributes | |
transient boolean | swigCMemOwn |
This class stores parameter settings for LP and MIP solvers. Some parameters
are marked as advanced: do not change their values unless you know what you
are doing!
For developers: how to add a new parameter:
Definition at line 39 of file MPSolverParameters.java.
|
protected |
Definition at line 43 of file MPSolverParameters.java.
com.google.ortools.linearsolver.MPSolverParameters.MPSolverParameters | ( | ) |
The constructor sets all parameters to their default value.
Definition at line 102 of file MPSolverParameters.java.
synchronized void com.google.ortools.linearsolver.MPSolverParameters.delete | ( | ) |
Definition at line 69 of file MPSolverParameters.java.
|
protected |
Definition at line 65 of file MPSolverParameters.java.
|
staticprotected |
Definition at line 48 of file MPSolverParameters.java.
double com.google.ortools.linearsolver.MPSolverParameters.getDoubleParam | ( | MPSolverParameters.DoubleParam | param | ) |
Returns the value of a double parameter.
Definition at line 123 of file MPSolverParameters.java.
int com.google.ortools.linearsolver.MPSolverParameters.getIntegerParam | ( | MPSolverParameters.IntegerParam | param | ) |
Returns the value of an integer parameter.
Definition at line 130 of file MPSolverParameters.java.
|
static |
Definition at line 87 of file MPSolverParameters.java.
|
static |
Definition at line 95 of file MPSolverParameters.java.
|
static |
Definition at line 91 of file MPSolverParameters.java.
|
static |
Definition at line 83 of file MPSolverParameters.java.
|
static |
Definition at line 79 of file MPSolverParameters.java.
void com.google.ortools.linearsolver.MPSolverParameters.setDoubleParam | ( | MPSolverParameters.DoubleParam | param, |
double | value ) |
Sets a double parameter to a specific value.
Definition at line 109 of file MPSolverParameters.java.
void com.google.ortools.linearsolver.MPSolverParameters.setIntegerParam | ( | MPSolverParameters.IntegerParam | param, |
int | value ) |
Sets a integer parameter to a specific value.
Definition at line 116 of file MPSolverParameters.java.
|
staticprotected |
Definition at line 52 of file MPSolverParameters.java.
|
protected |
Definition at line 41 of file MPSolverParameters.java.