ilog.cplex
Class IloCplex.Relaxation

java.lang.Object
  extended byilog.cplex.IloCplex.Relaxation
Enclosing class:
IloCplex

public static class IloCplex.Relaxation
extends java.lang.Object

Enumeration of possible values for the parameter FeasOptMode.

This parameter controls several aspects of how the method IloCplex.feasOpt performs its relaxation.

The method feasOpt works in two phases. In its first phase, it attempts to find a minimum-cost relaxation of a given infeasible model. If you want feasOpt to stop after this first phase, choose a value with Min in its symbolic name. If you want feasOpt to continue beyond its first phase and find a solution that is optimal with respect to the original objective function, subject to the constraint that the cost of the relaxation must not exceed the minimum value found in the first phase, choose a value with Opt in its symbolic name.

In both phases, the suffixes Sum, Inf, and Quad specify the relaxation cost metric:

Weights are determined by the preference values provided as input to the method feasOpt.

When the method and is used to group constraints as input to feasOpt, the relaxation is computed on groups instead of on individual constraints. For example, all constraints in a group can be relaxed for a total cost of one unit under the various Inf metrics.


Field Summary
static int MinInf
          = CPX_FEASOPT_MIN_INF
static int MinQuad
          = CPX_FEASOPT_MIN_QUAD
static int MinSum
          = CPX_FEASOPT_MIN_SUM
static int OptInf
          = CPX_FEASOPT_OPT_INF
static int OptQuad
          = CPX_FEASOPT_OPT_QUAD
static int OptSum
          = CPX_FEASOPT_OPT_SUM
 
Constructor Summary
IloCplex.Relaxation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MinSum

public static final int MinSum
= CPX_FEASOPT_MIN_SUM

See Also:
Constant Field Values

OptSum

public static final int OptSum
= CPX_FEASOPT_OPT_SUM

See Also:
Constant Field Values

MinInf

public static final int MinInf
= CPX_FEASOPT_MIN_INF

See Also:
Constant Field Values

OptInf

public static final int OptInf
= CPX_FEASOPT_OPT_INF

See Also:
Constant Field Values

MinQuad

public static final int MinQuad
= CPX_FEASOPT_MIN_QUAD

See Also:
Constant Field Values

OptQuad

public static final int OptQuad
= CPX_FEASOPT_OPT_QUAD

See Also:
Constant Field Values
Constructor Detail

IloCplex.Relaxation

public IloCplex.Relaxation()