ilog.cplex
Class IloCplex.FractionalCutCallback

java.lang.Object
  extended byilog.cplex.IloCplex.Callback
      extended byilog.cplex.IloCplex.OptimizationCallback
          extended byilog.cplex.IloCplex.MIPInfoCallback
              extended byilog.cplex.IloCplex.MIPCallback
                  extended byilog.cplex.IloCplex.FractionalCutCallback
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
IloCplex

public abstract static class IloCplex.FractionalCutCallback
extends IloCplex.MIPCallback

This is the callback class to use to control or query the progress of the generation of fractional cuts when a mixed integer programming problem (MIP) is being solved.

An instance of this class represents a user-written control or query callback in an application that uses an instance of IloCplex to solve a mixed integer programming problem (a MIP). It allows you to control the progress of the generation of fractional cuts.

The constructor and methods of this class are protected to make sure that they are used only to derive a user-written callback class or to implement the main method in it.

See Also:
IloCplex.MIPCallback, IloCplex.MIPInfoCallback, IloCplex.FractionalCutInfoCallback

Constructor Summary
protected IloCplex.FractionalCutCallback()
          Constructor for user-written fractional cut callbacks.
 
Method Summary
protected  double getProgress()
          Returns the fraction of completion of the fractional cut generation.
 
Methods inherited from class ilog.cplex.IloCplex.MIPCallback
getNcliques, getNcovers, getNdisjunctiveCuts, getNflowCovers, getNflowPaths, getNfractionalCuts, getNGUBcovers, getNimpliedBounds, getNMIRs, getObjCoef, getObjCoefs, getObjCoefs
 
Methods inherited from class ilog.cplex.IloCplex.MIPInfoCallback
getBestObjValue, getCutoff, getDirection, getIncumbentObjValue, getIncumbentValue, getIncumbentValues, getIncumbentValues, getNiterations, getNnodes, getNremainingNodes, getPriority, hasIncumbent
 
Methods inherited from class ilog.cplex.IloCplex.OptimizationCallback
getModel, getNcols, getNQCs, getNrows
 
Methods inherited from class ilog.cplex.IloCplex.Callback
abort, main
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IloCplex.FractionalCutCallback

protected IloCplex.FractionalCutCallback()

Constructor for user-written fractional cut callbacks.

This constructor can be called only to construct objects of derived user-written callback classes, but not to construct FractionalCutCallback objects directly.

Method Detail

getProgress

protected double getProgress()
                      throws IloException

Returns the fraction of completion of the fractional cut generation.

The returned values are in the range of 0.0 to 1.0.

Returns:
The fraction of completion of the fractional cut generation.
Throws:
IloException