Modifier and Type | Field and Description |
---|---|
double |
cplexEpGap
Description copied from Cplex: Sets a relative tolerance on the gap between the best integer objective and the objective of the best node remaining.
|
double |
cplexTiLim
Description copied from Cplex: Sets the maximum time, in seconds, for a call to an optimizer.
|
double |
cplexTreLim
Description copied from Cplex: Sets an absolute upper limit on the size (in megabytes, uncompressed) of the branch-and-cut tree.
|
int |
maxCPUSec
The maximum time limit in seconds for the whole program.
|
int |
maxLocalSearchIter
The maximum number of iterations for each local search instance.
|
int |
numCPU
The number of
CuttingPlaneOnly instances and local search instances to
be run in parallel. |
boolean |
solveIP
Set to
true to solve the second step as an integer problem. |
boolean |
useLocalSearch
Set to
true to execute a local search on the
stochastic solution after the Two-step algorithm. |
boolean |
verbose
Set to
true to print information to screen. |
Constructor and Description |
---|
TwoStepParams() |
public int numCPU
CuttingPlaneOnly
instances and local search instances to
be run in parallel.
This parameter defines the number of threads in the pool created by Executors
.public boolean solveIP
true
to solve the second step as an integer problem.public double cplexTreLim
solveIP
parameter is set to true
.
Set a negative value to use Cplex's default value.
This parameter affects only the second step of the Two-step algorithm.
public double cplexTiLim
solveIP
parameter is set to true
.
Set a negative value to use Cplex's default value.
This parameter affects only the second step of the Two-step algorithm.
public double cplexEpGap
solveIP
parameter is set to true
.
Set a negative value to use Cplex's default value.
This parameter affects only the second step of the Two-step algorithm.
public int maxCPUSec
public boolean useLocalSearch
true
to execute a local search on the
stochastic solution after the Two-step algorithm.public int maxLocalSearchIter
public boolean verbose
true
to print information to screen.