16 private transient long swigCPtr;
25 return (obj ==
null) ? 0 : obj.swigCPtr;
32 throw new RuntimeException(
"Cannot release ownership as memory is not owned");
34 obj.swigCMemOwn =
false;
40 @SuppressWarnings({
"deprecation",
"removal"})
107 public int readMatrix(
SWIGTYPE_p_double lower,
SWIGTYPE_p_double curr,
SWIGTYPE_p_double upper,
SWIGTYPE_p_int vsta,
SWIGTYPE_p_int type,
SWIGTYPE_p_double rhs,
SWIGTYPE_p_int esta,
SWIGTYPE_p_int colsta,
SWIGTYPE_p_int rowno,
SWIGTYPE_p_double value,
SWIGTYPE_p_int nlflag,
int numvar,
int numcon,
int numnz) {
108 return (getClass() ==
ConoptModelData.class) ?
jconoptJNI.
ConoptModelData_readMatrix(swigCPtr,
this,
SWIGTYPE_p_double.
getCPtr(lower),
SWIGTYPE_p_double.
getCPtr(curr),
SWIGTYPE_p_double.
getCPtr(upper),
SWIGTYPE_p_int.
getCPtr(vsta),
SWIGTYPE_p_int.
getCPtr(type),
SWIGTYPE_p_double.
getCPtr(rhs),
SWIGTYPE_p_int.
getCPtr(esta),
SWIGTYPE_p_int.
getCPtr(colsta),
SWIGTYPE_p_int.
getCPtr(rowno),
SWIGTYPE_p_double.
getCPtr(value),
SWIGTYPE_p_int.
getCPtr(nlflag), numvar, numcon, numnz) :
jconoptJNI.
ConoptModelData_readMatrixSwigExplicitConoptModelData(swigCPtr,
this,
SWIGTYPE_p_double.
getCPtr(lower),
SWIGTYPE_p_double.
getCPtr(curr),
SWIGTYPE_p_double.
getCPtr(upper),
SWIGTYPE_p_int.
getCPtr(vsta),
SWIGTYPE_p_int.
getCPtr(type),
SWIGTYPE_p_double.
getCPtr(rhs),
SWIGTYPE_p_int.
getCPtr(esta),
SWIGTYPE_p_int.
getCPtr(colsta),
SWIGTYPE_p_int.
getCPtr(rowno),
SWIGTYPE_p_double.
getCPtr(value),
SWIGTYPE_p_int.
getCPtr(nlflag), numvar, numcon, numnz);
202 public int addVariable(
double lower,
double upper,
double curr,
int varstatus) {
249 public int addVariable(
double lower,
double upper,
int[] consindex,
double[] value,
int[] nlflag,
double curr,
int varstatus) {
267 public int addVariable(
double lower,
double upper,
int[] consindex,
double[] value,
int[] nlflag,
double curr) {
284 public int addVariable(
double lower,
double upper,
int[] consindex,
double[] value,
int[] nlflag) {
ConoptModelData(long cPtr, boolean cMemoryOwn)
int addVariable(double lower, double upper, int[] consindex, double[] value, int[] nlflag)
static long swigRelease(ConoptModelData obj)
Constraint getConstraint(int index)
int addVariable(double lower, double upper)
int readMatrix(SWIGTYPE_p_double lower, SWIGTYPE_p_double curr, SWIGTYPE_p_double upper, SWIGTYPE_p_int vsta, SWIGTYPE_p_int type, SWIGTYPE_p_double rhs, SWIGTYPE_p_int esta, SWIGTYPE_p_int colsta, SWIGTYPE_p_int rowno, SWIGTYPE_p_double value, SWIGTYPE_p_int nlflag, int numvar, int numcon, int numnz)
int addVariable(double lower, double upper, int[] consindex, double[] value, int[] nlflag, double curr)
synchronized void delete()
transient boolean swigCMemOwn
void setOptimizationSense(Sense sense)
void setProblemDimension(long numvar, long numcons, long numnz, long numnlnz)
int[] getSDLagrangianRowNumbers()
void setSDLagrangianStructure(int[] rownum, int[] colnum)
int addConstraint(ConstraintType constype, double rhs)
void swigReleaseOwnership()
int addConstraint(ConstraintType constype, double rhs, int slackstatus)
int addVariable(double lower, double upper, int[] consindex, double[] value, int[] nlflag, double curr, int varstatus)
Variable getVariable(int index)
int[] getSDLagrangianColumnNumbers()
int addConstraint(ConstraintType constype, double rhs, int[] varindex, double[] value, int[] nlflag)
int addVariable(double lower, double upper, double curr)
void setSDEvaluationType(SDEvaluationType sdevaltype)
void setInitialStatusOption(int inistat)
int addConstraint(ConstraintType constype, double rhs, int[] varindex, double[] value, int[] nlflag, int slackstatus)
void swigDirectorDisconnect()
static long getCPtr(ConoptModelData obj)
int addVariable(double lower, double upper, double curr, int varstatus)
void setObjectiveElement(ObjectiveElement elem, int elemindex)
static long getCPtr(SWIGTYPE_p_double obj)
static long getCPtr(SWIGTYPE_p_int obj)
static final native void ConoptModelData_setObjectiveElement(long jarg1, ConoptModelData jarg1_, int jarg2, int jarg3)
static final native int[] ConoptModelData_getSDLagrangianColumnNumbers(long jarg1, ConoptModelData jarg1_)
static final native void ConoptModelData_setSDEvaluationType(long jarg1, ConoptModelData jarg1_, int jarg2)
static final native int ConoptModelData_addConstraint__SWIG_1(long jarg1, ConoptModelData jarg1_, int jarg2, double jarg3)
static final native long ConoptModelData_getConstraint(long jarg1, ConoptModelData jarg1_, int jarg2)
static final native int ConoptModelData_numHessianNonzeros(long jarg1, ConoptModelData jarg1_)
static final native int[] ConoptModelData_getSDLagrangianRowNumbers(long jarg1, ConoptModelData jarg1_)
static final native int ConoptModelData_readMatrixSwigExplicitConoptModelData(long jarg1, ConoptModelData jarg1_, long jarg2, long jarg3, long jarg4, long jarg5, long jarg6, long jarg7, long jarg8, long jarg9, long jarg10, long jarg11, long jarg12, int jarg13, int jarg14, int jarg15)
static final native void ConoptModelData_setSDLagrangianStructure(long jarg1, ConoptModelData jarg1_, int[] jarg2, int[] jarg3)
static final native long new_ConoptModelData()
static final native void ConoptModelData_setProblemDimension(long jarg1, ConoptModelData jarg1_, long jarg2, long jarg3, long jarg4, long jarg5)
static final native int ConoptModelData_addConstraint__SWIG_3(long jarg1, ConoptModelData jarg1_, int jarg2, double jarg3, int[] jarg4, double[] jarg5, int[] jarg6)
static final native int ConoptModelData_numCons(long jarg1, ConoptModelData jarg1_)
static final native int ConoptModelData_addConstraint__SWIG_0(long jarg1, ConoptModelData jarg1_, int jarg2, double jarg3, int jarg4)
static final native int ConoptModelData_addVariable__SWIG_0(long jarg1, ConoptModelData jarg1_, double jarg2, double jarg3, double jarg4, int jarg5)
static final native int ConoptModelData_addVariable__SWIG_1(long jarg1, ConoptModelData jarg1_, double jarg2, double jarg3, double jarg4)
static final native int ConoptModelData_addVariable__SWIG_4(long jarg1, ConoptModelData jarg1_, double jarg2, double jarg3, int[] jarg4, double[] jarg5, int[] jarg6, double jarg7)
static final native int ConoptModelData_addVariable__SWIG_3(long jarg1, ConoptModelData jarg1_, double jarg2, double jarg3, int[] jarg4, double[] jarg5, int[] jarg6, double jarg7, int jarg8)
static final native int ConoptModelData_addConstraint__SWIG_2(long jarg1, ConoptModelData jarg1_, int jarg2, double jarg3, int[] jarg4, double[] jarg5, int[] jarg6, int jarg7)
static final native int ConoptModelData_addVariable__SWIG_5(long jarg1, ConoptModelData jarg1_, double jarg2, double jarg3, int[] jarg4, double[] jarg5, int[] jarg6)
static final native void ConoptModelData_setInitialStatusOption(long jarg1, ConoptModelData jarg1_, int jarg2)
static final native int ConoptModelData_readMatrix(long jarg1, ConoptModelData jarg1_, long jarg2, long jarg3, long jarg4, long jarg5, long jarg6, long jarg7, long jarg8, long jarg9, long jarg10, long jarg11, long jarg12, int jarg13, int jarg14, int jarg15)
static final native void ConoptModelData_change_ownership(ConoptModelData obj, long cptr, boolean take_or_release)
static final native void ConoptModelData_setOptimizationSense(long jarg1, ConoptModelData jarg1_, int jarg2)
static final native long ConoptModelData_getVariable(long jarg1, ConoptModelData jarg1_, int jarg2)
static final native int ConoptModelData_addVariable__SWIG_2(long jarg1, ConoptModelData jarg1_, double jarg2, double jarg3)
static final native void ConoptModelData_director_connect(ConoptModelData obj, long cptr, boolean mem_own, boolean weak_global)
static final native void delete_ConoptModelData(long jarg1)
static final native int ConoptModelData_numVar(long jarg1, ConoptModelData jarg1_)