| Overview | Group | Tree | Graph | Deprecated | Index | Concepts |

An instance of this class can be used to save basis information for one instance
of IloCplex and restore it on other instances of IloCplex.
See Also:
IloCplex::getBasisStatuses, IloCplex::setBasisStatuses
| Method Summary | |
|---|---|
public void | attach(IloNumVarMap vars, IloIntMap statuses) |
public void | end() |
public IloBool | getBasis(IloCplex cplex) |
public IloInt | getNcols() const |
public IloInt | getNrows() const |
public IloInt | getStatus() const |
public | IloOplCplexBasis(IloEnv env) |
public IloBool | setBasis(IloCplex cplex) |
| Method Detail |
|---|
Constructor.
| env |
The environment to allocate memory from.
|
Attach a variable map vars to a value map statuses.
After some attachments have been done, only the elements with attachments
are taken into account to get/set basis.
| vars |
The variable map to be attached.
|
| statuses |
The value map.
|
Clears the memory used by this object
Saves basis information for a CPLEX instance.
| cplex |
Saves the basis currently available on the given CPLEX instance.
|
IloTrue if the basis was successfully saved. Returns the number of columns in the currently saved basis.
Returns the number of rows in the currently saved basis.
Returns the CPLEX status of the last invocation of CPLEX API.
Restores basis information for a CPLEX instance.
| cplex |
Restores this basis on the given CPLEX instance.
|
IloTrue if the basis was successfully restored.