gurobi
Class GRBCallback
java.lang.Object
gurobi.GRBCallback
public abstract class GRBCallback
- extends java.lang.Object
Field Summary |
protected int |
where
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
where
protected int where
GRBCallback
public GRBCallback()
callback
protected abstract void callback()
finalize
protected void finalize()
- Overrides:
finalize
in class java.lang.Object
getDoubleInfo
protected double getDoubleInfo(int what)
throws GRBException
- Throws:
GRBException
getIntInfo
protected int getIntInfo(int what)
throws GRBException
- Throws:
GRBException
getStringInfo
protected java.lang.String getStringInfo(int what)
throws GRBException
- Throws:
GRBException
getSolution
protected double getSolution(GRBVar v)
throws GRBException
- Throws:
GRBException
getSolution
protected double[] getSolution(GRBVar[] xvars)
throws GRBException
- Throws:
GRBException
getSolution
protected double[][] getSolution(GRBVar[][] xvars)
throws GRBException
- Throws:
GRBException
getNodeRel
protected double getNodeRel(GRBVar v)
throws GRBException
- Throws:
GRBException
getNodeRel
protected double[] getNodeRel(GRBVar[] xvars)
throws GRBException
- Throws:
GRBException
getNodeRel
protected double[][] getNodeRel(GRBVar[][] xvars)
throws GRBException
- Throws:
GRBException
setSolution
protected void setSolution(GRBVar v,
double val)
throws GRBException
- Throws:
GRBException
setSolution
protected void setSolution(GRBVar[] xvars,
double[] sol)
throws GRBException
- Throws:
GRBException
useSolution
protected double useSolution()
throws GRBException
- Throws:
GRBException
addCut
protected void addCut(GRBLinExpr expr,
char sense,
double rhs)
throws GRBException
- Throws:
GRBException
addLazy
protected void addLazy(GRBLinExpr expr,
char sense,
double rhs)
throws GRBException
- Throws:
GRBException
abort
protected void abort()
stopOneMultiObj
protected void stopOneMultiObj(int objnum)
throws GRBException
- Throws:
GRBException