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.Objectprotected double getDoubleInfo(int what)
throws GRBException
GRBExceptionprotected int getIntInfo(int what)
throws GRBException
GRBExceptionprotected java.lang.String getStringInfo(int what)
throws GRBException
GRBExceptionprotected double getSolution(GRBVar v) throws GRBException
GRBExceptionprotected double[] getSolution(GRBVar[] xvars) throws GRBException
GRBExceptionprotected double[][] getSolution(GRBVar[][] xvars) throws GRBException
GRBExceptionprotected double getNodeRel(GRBVar v) throws GRBException
GRBExceptionprotected double[] getNodeRel(GRBVar[] xvars) throws GRBException
GRBExceptionprotected double[][] getNodeRel(GRBVar[][] xvars) throws GRBException
GRBExceptionprotected void setSolution(GRBVar v, double val) throws GRBException
GRBExceptionprotected void setSolution(GRBVar[] xvars, double[] sol) throws GRBException
GRBExceptionprotected double useSolution()
throws GRBException
GRBExceptionprotected void addCut(GRBLinExpr expr, char sense, double rhs) throws GRBException
GRBExceptionprotected void addLazy(GRBLinExpr expr, char sense, double rhs) throws GRBException
GRBExceptionprotected void abort()
public void proceed()
throws GRBException
GRBExceptionprotected void stopOneMultiObj(int objnum)
throws GRBException
GRBException