public abstract class GRBCallback
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
where |
Constructor and Description |
---|
GRBCallback() |
Modifier and Type | Method and Description |
---|---|
protected void |
abort() |
protected void |
addCut(GRBLinExpr expr,
char sense,
double rhs) |
protected void |
addLazy(GRBLinExpr expr,
char sense,
double rhs) |
protected abstract void |
callback() |
protected void |
finalize() |
protected double |
getDoubleInfo(int what) |
protected int |
getIntInfo(int what) |
protected double |
getNodeRel(GRBVar v) |
protected double[] |
getNodeRel(GRBVar[] xvars) |
protected double[][] |
getNodeRel(GRBVar[][] xvars) |
protected double |
getSolution(GRBVar v) |
protected double[] |
getSolution(GRBVar[] xvars) |
protected double[][] |
getSolution(GRBVar[][] xvars) |
protected java.lang.String |
getStringInfo(int what) |
void |
proceed() |
protected void |
setSolution(GRBVar[] xvars,
double[] sol) |
protected void |
setSolution(GRBVar v,
double val) |
protected void |
stopOneMultiObj(int objnum) |
protected double |
useSolution() |
protected abstract void callback()
protected void finalize()
finalize
in class java.lang.Object
protected double getDoubleInfo(int what) throws GRBException
GRBException
protected int getIntInfo(int what) throws GRBException
GRBException
protected java.lang.String getStringInfo(int what) throws GRBException
GRBException
protected double getSolution(GRBVar v) throws GRBException
GRBException
protected double[] getSolution(GRBVar[] xvars) throws GRBException
GRBException
protected double[][] getSolution(GRBVar[][] xvars) throws GRBException
GRBException
protected double getNodeRel(GRBVar v) throws GRBException
GRBException
protected double[] getNodeRel(GRBVar[] xvars) throws GRBException
GRBException
protected double[][] getNodeRel(GRBVar[][] xvars) throws GRBException
GRBException
protected void setSolution(GRBVar v, double val) throws GRBException
GRBException
protected void setSolution(GRBVar[] xvars, double[] sol) throws GRBException
GRBException
protected double useSolution() throws GRBException
GRBException
protected void addCut(GRBLinExpr expr, char sense, double rhs) throws GRBException
GRBException
protected void addLazy(GRBLinExpr expr, char sense, double rhs) throws GRBException
GRBException
protected void abort()
public void proceed() throws GRBException
GRBException
protected void stopOneMultiObj(int objnum) throws GRBException
GRBException