|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.harvard.econcs.jopt.solver.SolveParam
public class SolveParam
These parameters control how JOpt operates, and how the backend solver operates. You can control a number of parameters. Not all of these will be supported by your chosen backend solver, unfortunently. But we try to map these settings into relevant solver settings. See each setting to see if they are applicable to CPLEX, LPSOLVE, or ALLSOLVERS
Field Summary | |
---|---|
static SolveParam |
ABSOLUTE_INT_GAP
How close a double must be to an int to be considered an int [CPLEX] |
static SolveParam |
ABSOLUTE_OBJ_GAP
Optimization stops when current solution within this parameter of LP relaxiation [CPLEX] |
static SolveParam |
ABSOLUTE_VAR_BOUND_GAP
Degree to which variables may violate their bounds [CPLEX] |
static SolveParam |
BARRIER_DISPLAY
Amount of barrier progress information to be displayed [CPLEX] |
static SolveParam |
CHECK_INIT_VALUE_FEASIBILITY
Check starting values for feasibility? [CPLEX] |
static SolveParam |
CLOCK_TYPE
Measure timing using CPU=1, wall clock=2 [CPLEX] |
static SolveParam |
INFEASIBLE_INFO_CALC
Type of calculation used to determine data for infeasible solution. |
static SolveParam |
LP_OPTIMIZATION_ALG
Which optimization algorithm to use. |
static SolveParam |
MAX_OBJ_THRESHOLD
For Maximization problems, stop when this value has been exceeded [CPLEX] |
static SolveParam |
MAX_OBJ_VALUE
Max objective value for minimization problems (specified to assist cutting). |
static SolveParam |
MIN_OBJ_THRESHOLD
For Minimization problems, stop when this value has been exceeded [CPLEX] |
static SolveParam |
MIN_OBJ_VALUE
Min objective value for maximization problems (specified to assist cutting). |
static SolveParam |
MIP_DISPLAY
Specify what to display when solving a MIP [CPLEX] |
static SolveParam |
MIP_EMPHASIS
Optimality vs. |
static SolveParam |
PROBLEM_FILE
Name of mipInstance file - set to empty string if you don't want to write one out [CPLEX] |
static SolveParam |
RELATIVE_OBJ_GAP
Optimization stops when current solution within this percentage of LP relaxiation [CPLEX] |
static SolveParam |
TIME_LIMIT
Maximum time to run solver before returning current best in seconds [CPLEX] |
static SolveParam |
WORK_DIR
Working directory for working files for the optimzer [CPLEX] |
static SolveParam |
ZERO_MISSING_PROPOSED
If given a set of proposed starting values, should we set missing values to be zero [CPLEX] |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getTypeDescription()
|
int |
hashCode()
|
boolean |
isBoolean()
|
boolean |
isDouble()
|
boolean |
isInteger()
|
boolean |
isInternal()
|
boolean |
isString()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final SolveParam CLOCK_TYPE
public static final SolveParam TIME_LIMIT
public static final SolveParam BARRIER_DISPLAY
public static final SolveParam MIN_OBJ_VALUE
public static final SolveParam MAX_OBJ_VALUE
public static final SolveParam ABSOLUTE_OBJ_GAP
public static final SolveParam RELATIVE_OBJ_GAP
public static final SolveParam ABSOLUTE_INT_GAP
public static final SolveParam ABSOLUTE_VAR_BOUND_GAP
public static final SolveParam INFEASIBLE_INFO_CALC
public static final SolveParam LP_OPTIMIZATION_ALG
public static final SolveParam MIP_DISPLAY
public static final SolveParam MIP_EMPHASIS
public static final SolveParam CHECK_INIT_VALUE_FEASIBILITY
public static final SolveParam MIN_OBJ_THRESHOLD
public static final SolveParam MAX_OBJ_THRESHOLD
public static final SolveParam WORK_DIR
public static final SolveParam PROBLEM_FILE
public static final SolveParam ZERO_MISSING_PROPOSED
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isInteger()
public boolean isDouble()
public boolean isBoolean()
public boolean isString()
public boolean isInternal()
public java.lang.String getTypeDescription()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |