CONOPT
|
Public Member Functions | |
synchronized void | delete () |
Variable (int idx, double low, double up, double cur, int varstat) | |
Variable (int idx, double low, double up, double cur) | |
Variable (int idx, double low, double up) | |
void | addNonzero (int conindex, double value, int nlflag) |
void | sortNonzeros () |
void | setIndex (int value) |
int | getIndex () |
void | setLower (double value) |
double | getLower () |
void | setUpper (double value) |
double | getUpper () |
void | setCurr (double value) |
double | getCurr () |
void | setVarstatus (int value) |
int | getVarstatus () |
void | setConsindex_ (SWIGTYPE_p_std__vectorT_int_t value) |
SWIGTYPE_p_std__vectorT_int_t | getConsindex_ () |
void | setValue_ (SWIGTYPE_p_std__vectorT_double_t value) |
SWIGTYPE_p_std__vectorT_double_t | getValue_ () |
void | setNlflag_ (SWIGTYPE_p_std__vectorT_int_t value) |
SWIGTYPE_p_std__vectorT_int_t | getNlflag_ () |
void | setSortorder_ (SWIGTYPE_p_std__vectorT_int_t value) |
SWIGTYPE_p_std__vectorT_int_t | getSortorder_ () |
Protected Member Functions | |
Variable (long cPtr, boolean cMemoryOwn) | |
void | finalize () |
Static Protected Member Functions | |
static long | getCPtr (Variable obj) |
static long | swigRelease (Variable obj) |
Protected Attributes | |
transient boolean | swigCMemOwn |
the variable data
This struct is used internally for supplying the variable data to CONOPT. The user is able to query this data from the ConoptModelData object. However, the user is not able to change the data after the variable has been added to CONOPT.
Definition at line 25 of file Variable.java.
|
inlineprotected |
Definition at line 29 of file Variable.java.
|
inline |
Definition at line 65 of file Variable.java.
|
inline |
Definition at line 69 of file Variable.java.
|
inline |
Definition at line 73 of file Variable.java.
|
inlinestaticprotected |
Definition at line 34 of file Variable.java.
|
inlinestaticprotected |
Definition at line 38 of file Variable.java.
|
inlineprotected |
Definition at line 51 of file Variable.java.
|
inline |
Definition at line 55 of file Variable.java.
|
inline |
adds a non-zero to the variable data
Note: this is used internally.
Definition at line 82 of file Variable.java.
|
inline |
sorts the non-zeros by constraint index.
Note: this is used internally.
Definition at line 91 of file Variable.java.
|
inline |
the index of the variable in the problem
Definition at line 98 of file Variable.java.
|
inline |
the index of the variable in the problem
Definition at line 105 of file Variable.java.
|
inline |
the lower bound of the variables
Definition at line 112 of file Variable.java.
|
inline |
the lower bound of the variables
Definition at line 119 of file Variable.java.
|
inline |
the upper bounds of the variables
Definition at line 126 of file Variable.java.
|
inline |
the upper bounds of the variables
Definition at line 133 of file Variable.java.
|
inline |
the initial values of the variables. This is 0 by default.
Definition at line 140 of file Variable.java.
|
inline |
the initial values of the variables. This is 0 by default.
Definition at line 147 of file Variable.java.
|
inline |
the initial status of the variables. The depends on the COIDEF_IniStat setting.
Definition at line 154 of file Variable.java.
|
inline |
the initial status of the variables. The depends on the COIDEF_IniStat setting.
Definition at line 161 of file Variable.java.
|
inline |
the index of the constraints
Definition at line 168 of file Variable.java.
|
inline |
the index of the constraints
Definition at line 175 of file Variable.java.
|
inline |
the non-zero for linear terms, for non-linear terms this is ignored
Definition at line 183 of file Variable.java.
|
inline |
the non-zero for linear terms, for non-linear terms this is ignored
Definition at line 190 of file Variable.java.
|
inline |
indicator whether the non-zero is part of a non-linear term
Definition at line 198 of file Variable.java.
|
inline |
indicator whether the non-zero is part of a non-linear term
Definition at line 205 of file Variable.java.
|
inline |
a vector to support the sorting of the non-zeros
Definition at line 213 of file Variable.java.
|
inline |
a vector to support the sorting of the non-zeros
Definition at line 220 of file Variable.java.
|
protected |
Definition at line 27 of file Variable.java.