ilog.cplex
Class IloCplexModeler

java.lang.Object
  extended byilog.cplex.IloCplexModeler
All Implemented Interfaces:
IloAddable, IloModel, IloModeler, IloMPModeler, java.io.Serializable
Direct Known Subclasses:
IloCplex

public class IloCplexModeler
extends java.lang.Object
implements IloModel, IloMPModeler, java.io.Serializable

Implements the interface of the math programming modeler and its base interfaces.

Algorithmic methods are implemented in IloCplex.

By implementing the modeling methods of IloMPModeler, this class makes it possible for you to build models in your Java application with pure Java objects.

See Also:
Serialized Form

Nested Class Summary
static class IloCplexModeler.Exception
          This class extends the class IloException by also capturing the CPLEX error code.
 
Constructor Summary
IloCplexModeler()
           
 
Method Summary
 IloIntExpr abs(IloIntExpr expr)
          Returns an expression representing the absolute value of its argument, the expression indicated by expr.
 IloNumExpr abs(IloNumExpr expr)
          Returns an expression representing the absolute value of its argument, the expression indicated by expr.
 IloAddable add(IloAddable object)
          Adds object to the invoking model.
 IloAddable[] add(IloAddable[] objects)
          Adds the array of objects to the invoking model.
 IloAddable[] add(IloAddable[] objects, int start, int num)
          Adds part of the array of objects to the invoking model, starting with the index start and continuing to the number of objects indicated by num.
 IloRange addEq(double v, IloNumExpr e)
          See IloModeler.addEq(double v, IloNumExpr e)
 IloRange addEq(double v, IloNumExpr e, java.lang.String name)
          See IloModeler.addEq(double v, IloNumExpr e, String name)
 IloRange addEq(IloNumExpr e, double v)
          See IloModeler.addEq(IloNumExpr e, double v)
 IloRange addEq(IloNumExpr e, double v, java.lang.String name)
          See IloModeler.addEq(IloNumExpr e, double v, String name)
 IloConstraint addEq(IloNumExpr e1, IloNumExpr e2)
          See IloModeler.addEq(IloNumExpr e1, IloNumExpr e2)
 IloConstraint addEq(IloNumExpr e1, IloNumExpr e2, java.lang.String name)
          See IloModeler.addEq(IloNumExpr e1, IloNumExpr e2, String name)
 IloRange addGe(double v, IloNumExpr e)
          See IloModeler.addGe(double v, IloNumExpr e)
 IloRange addGe(double v, IloNumExpr e, java.lang.String name)
          See IloModeler.addGe(double v, IloNumExpr e, String name)
 IloRange addGe(IloNumExpr e, double v)
          See IloModeler.addGe(IloNumExpr e, double v)
 IloRange addGe(IloNumExpr e, double v, java.lang.String name)
          See IloModeler.addGe(IloNumExpr e, double v, String name)
 IloConstraint addGe(IloNumExpr e1, IloNumExpr e2)
          See IloModeler.addGe(IloNumExpr e1, IloNumExpr e2)
 IloConstraint addGe(IloNumExpr e1, IloNumExpr e2, java.lang.String name)
          See IloModeler.addGe(IloNumExpr e1, IloNumExpr e2, String name)
 IloRange addLe(double v, IloNumExpr e)
          See IloModeler.addLe(double v, IloNumExpr e)
 IloRange addLe(double v, IloNumExpr e, java.lang.String name)
          See IloModeler.addLe(double v, IloNumExpr e, String name)
 IloRange addLe(IloNumExpr e, double v)
          See IloModeler.addLe(IloNumExpr e, double v)
 IloRange addLe(IloNumExpr e, double v, java.lang.String name)
          See IloModeler.addLe(IloNumExpr e, double v, String name)
 IloConstraint addLe(IloNumExpr e1, IloNumExpr e2)
          See IloModeler.addLe(IloNumExpr e1, IloNumExpr e2)
 IloConstraint addLe(IloNumExpr e1, IloNumExpr e2, java.lang.String name)
          See IloModeler.addLe(IloNumExpr e1, IloNumExpr e2, String name)
 IloLPMatrix addLPMatrix()
          See IloMPModeler.addLPMatrix()
 IloLPMatrix addLPMatrix(java.lang.String name)
          See IloMPModeler.addLPMatrix(String name)
 IloObjective addMaximize()
          See IloMPModeler.addMaximize()
 IloObjective addMaximize(IloNumExpr expr)
          See IloModeler.addMaximize(IloNumExpr)
 IloObjective addMaximize(IloNumExpr expr, java.lang.String name)
          See IloModeler.addMaximize(IloNumExpr, String)
 IloObjective addMaximize(java.lang.String name)
          See IloMPModeler.addMaximize(String)
 IloObjective addMinimize()
          See IloMPModeler.addMinimize()
 IloObjective addMinimize(IloNumExpr expr)
          See IloModeler.addMinimize(IloNumExpr)
 IloObjective addMinimize(IloNumExpr expr, java.lang.String name)
          See IloModeler.addMinimize(IloNumExpr, String)
 IloObjective addMinimize(java.lang.String name)
          See IloMPModeler.addMinimize(String)
 IloObjective addObjective(IloObjectiveSense sense)
          See IloMPModeler.addObjective(IloObjectiveSense)
 IloObjective addObjective(IloObjectiveSense sense, IloNumExpr expr)
          See IloModeler.addObjective(IloObjectiveSense, IloNumExpr)
 IloObjective addObjective(IloObjectiveSense sense, IloNumExpr expr, java.lang.String name)
          See IloModeler.addObjective(IloObjectiveSense, IloNumExpr, String)
 IloObjective addObjective(IloObjectiveSense sense, java.lang.String name)
          See IloMPModeler.addObjective(IloObjectiveSense, String)
 IloRange addRange(double lb, double ub)
          See IloMPModeler.addRange(double lb, double ub)
 IloRange addRange(double lb, double ub, java.lang.String name)
          See IloMPModeler.addRange(double lb, double ub, String name)
 IloRange addRange(double lb, IloNumExpr expr, double ub)
          See IloModeler.addRange(double lb, IloNumExpr expr, double ub)
 IloRange addRange(double lb, IloNumExpr expr, double ub, java.lang.String name)
          See IloModeler.addRange(double lb, IloNumExpr expr, double ub, String name)
 IloSOS1 addSOS1(IloNumVar[] var, double[] val)
          See IloMPModeler.addSOS1(IloNumVar[] var, double[] val)
 IloSOS1 addSOS1(IloNumVar[] var, double[] val, int start, int num)
          See IloMPModeler.addSOS1(IloNumVar[] var, double[] val, int start, int num)
 IloSOS1 addSOS1(IloNumVar[] var, double[] val, int start, int num, java.lang.String name)
          See IloMPModeler.addSOS1(IloNumVar[] var, double[] val, int start, int num, String name)
 IloSOS1 addSOS1(IloNumVar[] var, double[] val, java.lang.String name)
          See IloMPModeler.addSOS1(IloNumVar[] var, double[] val, String name)
 IloSOS2 addSOS2(IloNumVar[] var, double[] val)
          See IloMPModeler.addSOS2(IloNumVar[] var, double[] val)
 IloSOS2 addSOS2(IloNumVar[] var, double[] val, int start, int num)
          See IloMPModeler.addSOS2(IloNumVar[] var, double[] val, int start, int num)
 IloSOS2 addSOS2(IloNumVar[] var, double[] val, int start, int num, java.lang.String name)
          See IloMPModeler.addSOS2(IloNumVar[] var, double[] val, int start, int num, String name)
 IloSOS2 addSOS2(IloNumVar[] var, double[] val, java.lang.String name)
          See IloMPModeler.addSOS2(IloNumVar[] var, double[] val, String name)
 void addToExpr(IloObjective obj, IloNumExpr expr)
          See IloMPModeler.addToExpr(IloObjective, IloNumExpr)
 void addToExpr(IloRange rng, IloNumExpr expr)
          See IloMPModeler.addToExpr(IloRange rng, IloNumExpr expr)
 IloAnd and()
          Groups constraints together.
 IloAnd and(IloConstraint[] cons)
          Groups constraints together.
 IloAnd and(IloConstraint[] cons, int start, int num)
          Groups together part of the constraints in the array cons starting with the index indicated by start and continuing to the number of constraints indicated by num.
 IloAnd and(IloConstraint[] cons, int start, int num, java.lang.String name)
          Groups together part of the constraints from the array cons starting with the index indicated by start and continuing to the number of constraints indicated by num.
 IloAnd and(IloConstraint[] cons, java.lang.String name)
          Groups constraints together.
 IloAnd and(IloConstraint con1, IloConstraint con2)
          Groups together the constraints indicated by its arguments.
 IloAnd and(IloConstraint con1, IloConstraint con2, java.lang.String name)
          Groups together the constraints indicated by its arguments and assigns the string name to the group.
 IloIntVar boolVar()
          See IloModeler.boolVar()
 IloIntVar boolVar(IloColumn column)
          See IloMPModeler.boolVar(IloColumn column)
 IloIntVar boolVar(IloColumn column, java.lang.String name)
          See IloMPModeler.boolVar(IloColumn column, String name)
 IloIntVar boolVar(java.lang.String name)
          See IloModeler.boolVar(String)
 IloIntVar[] boolVarArray(IloColumnArray cols)
          See IloMPModeler.boolVarArray(IloColumnArray cols)
 IloIntVar[] boolVarArray(IloColumnArray cols, java.lang.String[] name)
          See IloMPModeler.boolVarArray(IloColumnArray cols, String[] name)
 IloIntVar[] boolVarArray(int n)
          See IloModeler.boolVarArray(int)
 IloIntVar[] boolVarArray(int n, java.lang.String[] name)
          See IloModeler.boolVarArray(int, String[])
 IloColumn column(IloLPMatrix lp)
          See IloMPModeler.column(IloLPMatrix lp)
 IloColumn column(IloLPMatrix lp, int[] ind, double[] val)
          See IloMPModeler.column(IloLPMatrix lp, int[] ind, double[] val)
 IloColumn column(IloLPMatrix lp, int[] ind, double[] val, int start, int num)
          See IloMPModeler.column(IloLPMatrix lp, int[] ind, double[] val, int start, int num)
 IloColumn column(IloObjective obj, double val)
          See IloMPModeler.column(IloObjective obj, double val)
 IloColumn column(IloRange rng, double val)
          See IloMPModeler.column(IloRange rng, double val)
 IloColumnArray columnArray(IloLPMatrix lp, int num)
          See IloMPModeler.columnArray(IloLPMatrix lp, int num)
 IloColumnArray columnArray(IloLPMatrix lp, int num, int[][] ind, double[][] val)
          See IloMPModeler.columnArray(IloLPMatrix lp, int num, int[][] ind, double[][] val)
 IloColumnArray columnArray(IloObjective obj, double[] val)
          See IloMPModeler.columnArray(IloObjective obj, double[] val)
 IloColumnArray columnArray(IloObjective obj, double[] val, int start, int num)
          See IloMPModeler.columnArray(IloObjective obj, double[] val, int start, int num)
 IloColumnArray columnArray(IloRange rng, double[] val)
          See IloMPModeler.columnArray(IloRange rng, double[] val)
 IloColumnArray columnArray(IloRange rng, double[] val, int start, int num)
          See IloMPModeler.columnArray(IloRange rng, double[] val, int start, int num)
 IloNumExpr constant(double x)
          See IloModeler.constant(double)
 IloIntExpr constant(int x)
          See IloModeler.constant(int)
 IloConversion conversion(IloNumVar[] ilovar, IloNumVarType type)
          See IloMPModeler.conversion(IloNumVar[] ilovar, IloNumVarType type)
 IloConversion conversion(IloNumVar[] ilovar, IloNumVarType[] type)
          See IloMPModeler.conversion(IloNumVar[] ilovar, IloNumVarType[] type)
 IloConversion conversion(IloNumVar[] ilovar, IloNumVarType[] type, java.lang.String name)
          See IloMPModeler.conversion(IloNumVar[] ilovar, IloNumVarType[] type, String name)
 IloConversion conversion(IloNumVar[] ilovar, IloNumVarType type, java.lang.String name)
          See IloMPModeler.conversion(IloNumVar[] ilovar, IloNumVarType type, String name)
 IloConversion conversion(IloNumVar var, IloNumVarType type)
          See IloMPModeler.conversion(IloNumVar var, IloNumVarType type)
 IloConversion conversion(IloNumVar var, IloNumVarType type, java.lang.String name)
          See IloMPModeler.conversion(IloNumVar var, IloNumVarType type, String name)
 java.util.Iterator conversionIterator()
          Returns an iterator over all IloConversion objects in the active model.
 void delete(IloCopyable obj)
          See IloMPModeler.delete(IloCopyable obj)
 void delete(IloCopyable[] obj)
          See IloMPModeler.delete(IloCopyable[] obj)
 void delete(IloCopyable[] obj, int beg, int num)
          See IloMPModeler.delete(IloCopyable[] obj, int beg, int num)
 IloNumExpr diff(double v, IloNumExpr e1)
          See IloModeler.diff(double, IloNumExpr)
 IloIntExpr diff(IloIntExpr e1, IloIntExpr e2)
          See IloModeler.diff(IloIntExpr, IloIntExpr)
 IloIntExpr diff(IloIntExpr e, int v)
          See IloModeler.diff(IloIntExpr, int)
 IloNumExpr diff(IloNumExpr e, double v)
          See IloModeler.diff(IloNumExpr, double)
 IloNumExpr diff(IloNumExpr e1, IloNumExpr e2)
          See IloModeler.diff(IloNumExpr, IloNumExpr)
 IloIntExpr diff(int v, IloIntExpr e1)
          See IloModeler.diff(int, IloIntExpr)
 IloRange eq(double v, IloNumExpr e)
          See IloModeler.eq(double v, IloNumExpr e)
 IloRange eq(double v, IloNumExpr e, java.lang.String name)
          See IloModeler.eq(double v, IloNumExpr e, String name)
 IloRange eq(IloNumExpr e, double v)
          See IloModeler.eq(IloNumExpr e, double v)
 IloRange eq(IloNumExpr e, double v, java.lang.String name)
          See IloModeler.eq(IloNumExpr e, double v, String name)
 IloConstraint eq(IloNumExpr e1, IloNumExpr e2)
          See IloModeler.eq(IloNumExpr e1, IloNumExpr e2)
 IloConstraint eq(IloNumExpr e1, IloNumExpr e2, java.lang.String name)
          See IloModeler.eq(IloNumExpr e1, IloNumExpr e2, String name)
 IloRange ge(double v, IloNumExpr e)
          See IloModeler.ge(double v, IloNumExpr e)
 IloRange ge(double v, IloNumExpr e, java.lang.String name)
          See IloModeler.ge(double v, IloNumExpr e, String name)
 IloRange ge(IloNumExpr e, double v)
          See IloModeler.ge(IloNumExpr e, double v)
 IloRange ge(IloNumExpr e, double v, java.lang.String name)
          See IloModeler.ge(IloNumExpr e, double v, String name)
 IloConstraint ge(IloNumExpr e1, IloNumExpr e2)
          See IloModeler.ge(IloNumExpr e1, IloNumExpr e2)
 IloConstraint ge(IloNumExpr e1, IloNumExpr e2, java.lang.String name)
          See IloModeler.ge(IloNumExpr e1, IloNumExpr e2, String name)
 IloModel getModel()
          Returns the active model.
 java.lang.String getName()
          Returns the name of the invoking model, if there is one.
 IloObjective getObjective()
          Returns the IloObjective object of the active model, or null if no IloObjective object is currently in the active model.
 IloConstraint ifThen(IloConstraint con1, IloConstraint con2)
          Returns a constraint that if con1 is true, then con2 must also be true.
 IloConstraint ifThen(IloConstraint con1, IloConstraint con2, java.lang.String name)
          Returns a constraint that if con1 is true, then con2 must also be true.
 IloIntExpr intExpr()
          See IloModeler.intExpr()
 IloIntSet intSet(int[] values)
          Creates and returns a set of integers populated by values, an array of integers.
 IloIntSet intSet(int min, int max)
          Creates and returns a set of integers in which the minimum element is min, the maximum element is max, and all integers between min and max are included in the possible set.
 IloIntSetVar[] intSetVarArray(int size)
           
 IloIntVar intVar(IloColumn column, int lb, int ub)
          See IloMPModeler.intVar(IloColumn column, int lb, int ub)
 IloIntVar intVar(IloColumn column, int lb, int ub, java.lang.String name)
          See IloMPModeler.intVar(IloColumn column, int lb, int ub, String name)
 IloIntVar intVar(int lb, int ub)
          See IloModeler.intVar(int, int)
 IloIntVar intVar(int lb, int ub, java.lang.String name)
          See IloModeler.intVar(int, int, String)
 IloIntVar[] intVarArray(IloColumnArray cols, int[] lb, int[] ub)
          See IloMPModeler.intVarArray(IloColumnArray cols, int[] lb, int[] ub)
 IloIntVar[] intVarArray(IloColumnArray cols, int[] lb, int[] ub, java.lang.String[] name)
          See IloMPModeler.intVarArray(IloColumnArray cols, int[] lb, int[] ub, String[] name)
 IloIntVar[] intVarArray(IloColumnArray cols, int lb, int ub)
          See IloMPModeler.intVarArray(IloColumnArray cols, int lb, int ub)
 IloIntVar[] intVarArray(IloColumnArray cols, int lb, int ub, java.lang.String[] name)
          See IloMPModeler.intVarArray(IloColumnArray cols, int lb, int ub, String[] name)
 IloIntVar[] intVarArray(int n, int[] lb, int[] ub)
          See IloModeler.intVarArray(int, int[], int[])
 IloIntVar[] intVarArray(int n, int[] lb, int[] ub, java.lang.String[] name)
          See IloModeler.intVarArray(int, int[], int[], String[])
 IloIntVar[] intVarArray(int n, int lb, int ub)
          See IloModeler.intVarArray(int, int, int)
 IloIntVar[] intVarArray(int n, int lb, int ub, java.lang.String[] name)
          See IloModeler.intVarArray(int, int, int, String[])
 java.util.Iterator iterator()
          Returns an iterator suitable for the invoking model.
 IloRange le(double v, IloNumExpr e)
          See IloModeler.le(double v, IloNumExpr e)
 IloRange le(double v, IloNumExpr e, java.lang.String name)
          See IloModeler.le(double v, IloNumExpr e, String name)
 IloRange le(IloNumExpr e, double v)
          See IloModeler.le(IloNumExpr e, double v)
 IloRange le(IloNumExpr e, double v, java.lang.String name)
          See IloModeler.le(IloNumExpr e, double v, String name)
 IloConstraint le(IloNumExpr e1, IloNumExpr e2)
          See IloModeler.le(IloNumExpr e1, IloNumExpr e2)
 IloConstraint le(IloNumExpr e1, IloNumExpr e2, java.lang.String name)
          See IloModeler.le(IloNumExpr e1, IloNumExpr e2, String name)
 IloLinearIntExpr linearIntExpr()
          See IloModeler.linearIntExpr()
 IloLinearIntExpr linearIntExpr(int val)
          See IloModeler.linearIntExpr(int)
 IloLinearNumExpr linearNumExpr()
          See IloModeler.linearNumExpr()
 IloLinearNumExpr linearNumExpr(double val)
          See IloModeler.linearNumExpr(double)
 IloLPMatrix LPMatrix()
          See IloMPModeler.LPMatrix()
 IloLPMatrix LPMatrix(java.lang.String name)
          See IloMPModeler.LPMatrix(String name)
 java.util.Iterator LPMatrixIterator()
          Returns an iterator over all IloLPMatrix objects in the active model.
 IloCopyable makeCopy(IloCopyManager copy)
           
 IloNumExpr max(double expr2, IloNumExpr expr1)
          Returns an expression representing the maximum of its two arguments.
 IloIntExpr max(IloIntExpr[] exprs)
          Returns an expression representing the maximum of its argument, the elements of an array.
 IloIntExpr max(IloIntExpr expr1, IloIntExpr expr2)
          Returns an expression representing the maximum of its two arguments.
 IloIntExpr max(IloIntExpr expr1, int expr2)
          Returns an expression representing the maximum of its two arguments.
 IloNumExpr max(IloNumExpr[] exprs)
          Returns an expression representing the maximum of its argument, the elements of an array.
 IloNumExpr max(IloNumExpr expr1, double expr2)
          Returns an expression representing the maximum of its two arguments.
 IloNumExpr max(IloNumExpr expr1, IloNumExpr expr2)
          Returns an expression representing the maximum of its two arguments.
 IloIntExpr max(int expr1, IloIntExpr expr2)
          Returns an expression representing the maximum of its two arguments.
 IloObjective maximize()
          See IloMPModeler.maximize()
 IloObjective maximize(IloNumExpr expr)
          See IloModeler.maximize(IloNumExpr)
 IloObjective maximize(IloNumExpr expr, java.lang.String name)
          See IloModeler.maximize(IloNumExpr, String)
 IloObjective maximize(java.lang.String name)
          See IloMPModeler.maximize(String)
 IloNumExpr min(double expr2, IloNumExpr expr1)
          Returns an expression representing the minimum of its two arguments.
 IloIntExpr min(IloIntExpr[] exprs)
          Returns an expression representing the minimum of its argument, the elements of an array.
 IloIntExpr min(IloIntExpr expr1, IloIntExpr expr2)
          Returns an expression representing the minimum of its two arguments.
 IloIntExpr min(IloIntExpr expr1, int expr2)
          Returns an expression representing the minimum of its two arguments.
 IloNumExpr min(IloNumExpr[] exprs)
          Returns an expression representing the minimum of its argument, the elements of an array.
 IloNumExpr min(IloNumExpr expr1, double expr2)
          Returns an expression representing the minimum of its two arguments.
 IloNumExpr min(IloNumExpr expr1, IloNumExpr expr2)
          Returns an expression representing the minimum of its two arguments.
 IloIntExpr min(int expr1, IloIntExpr expr2)
          Returns an expression representing the minimum of its two arguments.
 IloObjective minimize()
          See IloMPModeler.minimize()
 IloObjective minimize(IloNumExpr expr)
          See IloModeler.minimize(IloNumExpr)
 IloObjective minimize(IloNumExpr expr, java.lang.String name)
          See IloModeler.minimize(IloNumExpr, String)
 IloObjective minimize(java.lang.String name)
          See IloMPModeler.minimize(String)
 void needCopy(IloCopyManager.Check check)
           
 IloIntExpr negative(IloIntExpr e)
          See IloModeler.negative(IloIntExpr)
 IloNumExpr negative(IloNumExpr e)
          See IloModeler.negative(IloNumExpr)
 IloConstraint not(IloConstraint con1)
          Returns a constraint that is the logical negation of its argument.
 IloConstraint not(IloConstraint con1, java.lang.String name)
          Returns a constraint that is the logical negation of its argument.
 IloNumExpr numExpr()
          See IloModeler.numExpr()
 IloNumVar numVar(double lb, double ub)
          See IloModeler.numVar(double, double)
 IloNumVar numVar(double lb, double ub, IloNumVarType type)
          See IloModeler.numVar(double, double, IloNumVarType)
 IloNumVar numVar(double lb, double ub, IloNumVarType type, java.lang.String name)
          See IloModeler.numVar(double, double, IloNumVarType, String)
 IloNumVar numVar(double lb, double ub, java.lang.String name)
          See IloModeler.numVar(double, double, String)
 IloNumVar numVar(IloColumn column, double lb, double ub)
          See IloMPModeler.numVar(IloColumn column, double lb, double ub)
 IloNumVar numVar(IloColumn column, double lb, double ub, IloNumVarType type)
          See IloMPModeler.numVar(IloColumn column, double lb, double ub, IloNumVarType type)
 IloNumVar numVar(IloColumn column, double lb, double ub, IloNumVarType type, java.lang.String name)
          See IloMPModeler.numVar(IloColumn column, double lb, double ub, IloNumVarType type, String name)
 IloNumVar numVar(IloColumn column, double lb, double ub, java.lang.String name)
          See IloMPModeler.numVar(IloColumn column, double lb, double ub, String name)
 IloNumVar[] numVarArray(IloColumnArray cols, double[] lb, double[] ub)
          See IloMPModeler.numVarArray(IloColumnArray cols, double[] lb, double[] ub)
 IloNumVar[] numVarArray(IloColumnArray cols, double[] lb, double[] ub, IloNumVarType[] type)
          See IloMPModeler.numVarArray(IloColumnArray cols, double[] lb, double[] ub, IloNumVarType[] type)
 IloNumVar[] numVarArray(IloColumnArray cols, double[] lb, double[] ub, IloNumVarType[] type, java.lang.String[] name)
          See IloMPModeler.numVarArray(IloColumnArray cols, double[] lb, double[] ub, IloNumVarType[] type, String[] name)
 IloNumVar[] numVarArray(IloColumnArray cols, double[] lb, double[] ub, java.lang.String[] name)
          See IloMPModeler.numVarArray(IloColumnArray cols, double[] lb, double[] ub, String[] name)
 IloNumVar[] numVarArray(IloColumnArray cols, double lb, double ub)
          See IloMPModeler.numVarArray(IloColumnArray cols, double lb, double ub)
 IloNumVar[] numVarArray(IloColumnArray cols, double lb, double ub, IloNumVarType type)
          See IloMPModeler.numVarArray(IloColumnArray cols, double lb, double ub, IloNumVarType type)
 IloNumVar[] numVarArray(IloColumnArray cols, double lb, double ub, IloNumVarType type, java.lang.String[] name)
          See IloMPModeler.numVarArray(IloColumnArray cols, double lb, double ub, IloNumVarType type, String[] name)
 IloNumVar[] numVarArray(IloColumnArray cols, double lb, double ub, java.lang.String[] name)
          See IloMPModeler.numVarArray(IloColumnArray cols, double lb, double ub, String[] name)
 IloNumVar[] numVarArray(int n, double[] lb, double[] ub)
          See IloModeler.numVarArray(int, double[], double[])
 IloNumVar[] numVarArray(int n, double[] lb, double[] ub, IloNumVarType[] type)
          See IloModeler.numVarArray(int, double[], double[], IloNumVarType[])
 IloNumVar[] numVarArray(int n, double[] lb, double[] ub, IloNumVarType[] type, java.lang.String[] name)
          See IloModeler.numVarArray(int, double[], double[], IloNumVarType[], String[])
 IloNumVar[] numVarArray(int n, double[] lb, double[] ub, java.lang.String[] name)
          See IloModeler.numVarArray(int, double[], double[], String[])
 IloNumVar[] numVarArray(int n, double lb, double ub)
          See IloModeler.numVarArray(int, double, double)
 IloNumVar[] numVarArray(int n, double lb, double ub, IloNumVarType type)
          See IloModeler.numVarArray(int, double, double, IloNumVarType)
 IloNumVar[] numVarArray(int n, double lb, double ub, IloNumVarType type, java.lang.String[] name)
          See IloModeler.numVarArray(int, double, double, IloNumVarType, String[])
 IloNumVar[] numVarArray(int n, double lb, double ub, java.lang.String[] name)
          See IloModeler.numVarArray(int, double, double, String[])
 IloObjective objective(IloObjectiveSense sense)
          See IloMPModeler.objective(IloObjectiveSense)
 IloObjective objective(IloObjectiveSense sense, IloNumExpr expr)
          See IloModeler.objective(IloObjectiveSense, IloNumExpr)
 IloObjective objective(IloObjectiveSense sense, IloNumExpr expr, java.lang.String name)
          See IloModeler.objective(IloObjectiveSense, IloNumExpr, String)
 IloObjective objective(IloObjectiveSense sense, java.lang.String name)
          See IloMPModeler.objective(IloObjectiveSense, String)
 IloOr or()
          Returns a constraint that at least one and possibly more than one of the elements is true in its argument cons, an array of constraints.
 IloOr or(IloConstraint[] cons)
          Returns a constraint that at least one and possibly more than one of the elements is true in its argument cons, an array of constraints.
 IloOr or(IloConstraint[] cons, int start, int num)
          Returns a constraint that at least one and possibly more than one of the elements is true in the range of indices starting at the index indicated by start and continuing through the number of elements indicated by the number num among the elements of its argument cons, an array of constraints.
 IloOr or(IloConstraint[] cons, int start, int num, java.lang.String name)
          Returns a constraint that at least one and possibly more than one of the elements is true in the range of indices starting at the index indicated by start and continuing through the number of elements indicated by the number num among the elements of its argument cons, an array of constraints; also assigns the string name as the name of the returned constraint.
 IloOr or(IloConstraint[] cons, java.lang.String name)
          Returns a constraint that at least one and possibly more than one of the elements is true in its argument cons, an array of constraints and also assigns the string name as the name of that returned constraint.
 IloOr or(IloConstraint con1, IloConstraint con2)
          Returns a constraint that at least one and possibly both of its arguments are true.
 IloOr or(IloConstraint con1, IloConstraint con2, java.lang.String name)
          Returns a constraint that at least one and possibly both of its arguments are true.
 IloNumExpr piecewiseLinear(IloNumExpr expr, double[] points, double[] slopes, double a, double fa)
          See IloMPModeler.piecewiseLinear(IloNumExpr, double[], double[], double, double)
 IloNumExpr piecewiseLinear(IloNumExpr expr, double[] points, int startPoints, int num, double[] slopes, int startSlopes, double a, double fa)
          See IloMPModeler.piecewiseLinear(IloNumExpr, double[], int, int, double[], int, double, double)
 IloNumExpr prod(double v, IloNumExpr e1)
          See IloModeler.prod(double, IloNumExpr)
 IloNumExpr prod(double v, IloNumVar var1, IloNumVar var2)
          See IloModeler.prod(double, IloNumVar, IloNumVar)
 IloIntExpr prod(IloIntExpr e1, IloIntExpr e2)
          See IloModeler.prod(IloIntExpr, IloIntExpr)
 IloIntExpr prod(IloIntExpr e, int v)
          See IloModeler.prod(IloIntExpr, int)
 IloNumExpr prod(IloNumExpr e, double v)
          See IloModeler.prod(IloNumExpr, double)
 IloNumExpr prod(IloNumExpr e1, IloNumExpr e2)
          See IloModeler.prod(IloNumExpr, IloNumExpr)
 IloNumExpr prod(IloNumVar var1, double v, IloNumVar var2)
          See IloModeler.prod(IloNumVar, double, IloNumVar)
 IloNumExpr prod(IloNumVar var1, IloNumVar var2, double v)
          See IloModeler.prod(IloNumVar, IloNumVar, double)
 IloIntExpr prod(int v, IloIntExpr e1)
          See IloModeler.prod(int, IloIntExpr)
 IloRange range(double lb, double ub)
          See IloMPModeler.range(double lb, double ub)
 IloRange range(double lb, double ub, java.lang.String name)
          See IloMPModeler.range(double lb, double ub, String name)
 IloRange range(double lb, IloNumExpr expr, double ub)
          See IloModeler.range(double lb, IloNumExpr expr, double ub)
 IloRange range(double lb, IloNumExpr expr, double ub, java.lang.String name)
          See IloModeler.range(double lb, IloNumExpr expr, double ub, String name)
 java.util.Iterator rangeIterator()
          Returns an iterator over all instances of IloRange in the active model.
 IloAddable remove(IloAddable object)
          Removes object from the invoking model.
 IloAddable[] remove(IloAddable[] objects)
          Removes the array of objects from the invoking model.
 IloAddable[] remove(IloAddable[] objects, int start, int num)
          Removes part of the array of objects from the invoking model, starting with the index start and continuing to the number of objects indicated by num.
 IloLinearNumExpr scalProd(double[] vals, IloNumVar[] vars)
          See IloModeler.scalProd(double[], IloNumVar[])
 IloLinearNumExpr scalProd(double[] vals, IloNumVar[] vars, int start, int num)
          See IloModeler.scalProd(double[], IloNumVar[], int, int)
 IloIntExpr scalProd(IloIntVar[] vars1, IloIntVar[] vars2)
          Creates and returns a linear expression representing the scalar product of the given variables.
 IloIntExpr scalProd(IloIntVar[] vars1, IloIntVar[] vars2, int start, int num)
          Creates and returns a linear expression representing the scalar product of the given variables.
 IloLinearIntExpr scalProd(IloIntVar[] vars, int[] vals)
          See IloModeler.scalProd(IloIntVar[], int[])
 IloLinearIntExpr scalProd(IloIntVar[] vars, int[] vals, int start, int num)
          See IloModeler.scalProd(IloIntVar[], int[], int, int)
 IloLinearNumExpr scalProd(IloNumVar[] vars, double[] vals)
          See IloModeler.scalProd(IloNumVar[], double[])
 IloLinearNumExpr scalProd(IloNumVar[] vars, double[] vals, int start, int num)
          See IloModeler.scalProd(IloNumVar[], double[], int, int)
 IloNumExpr scalProd(IloNumVar[] vars1, IloNumVar[] vars2)
          Creates and returns a linear expression representing the scalar product of the given variables.
 IloNumExpr scalProd(IloNumVar[] vars1, IloNumVar[] vars2, int start, int num)
          Creates and returns a linear expression representing the scalar product of the given variables.
 IloLinearNumExpr scalProd(IloNumVar[] vars, int[] vals)
          See IloModeler.scalProd(IloNumVar[], int[])
 IloLinearNumExpr scalProd(IloNumVar[] vars, int[] vals, int start, int num)
          Creates and returns a new linear expression representing the scalar product of the num variables in vars starting at element start with the corresponding values in vals.
 IloLinearIntExpr scalProd(int[] vals, IloIntVar[] vars)
          See IloModeler.scalProd(int[], IloIntVar[])
 IloLinearIntExpr scalProd(int[] vals, IloIntVar[] vars, int start, int num)
          See IloModeler.scalProd(int[], IloIntVar[], int, int)
 IloLinearNumExpr scalProd(int[] vals, IloNumVar[] vars)
          See IloModeler.scalProd(int[], IloNumVar[])
 IloLinearNumExpr scalProd(int[] vals, IloNumVar[] vars, int start, int num)
          Creates and returns a new linear expression representing the scalar product of the num values in vals starting at element start with the corresponding variables in vars.
 IloSemiContVar semiContVar(double lb, double ub, IloNumVarType type)
          See IloMPModeler.semiContVar(double, double, IloNumVarType)
 IloSemiContVar semiContVar(double lb, double ub, IloNumVarType type, java.lang.String name)
          See IloMPModeler.semiContVar(double, double, IloNumVarType, String)
 IloSemiContVar semiContVar(IloColumn column, double lb, double ub, IloNumVarType type)
          See IloMPModeler.semiContVar(IloColumn, double, double, IloNumVarType)
 IloSemiContVar semiContVar(IloColumn column, double lb, double ub, IloNumVarType type, java.lang.String name)
          See IloMPModeler.semiContVar(IloColumn, double, double, IloNumVarType, String)
 IloSemiContVar[] semiContVarArray(IloColumnArray cols, double[] lb, double[] ub, IloNumVarType[] type)
          See IloMPModeler.semiContVarArray(IloColumnArray, double[], double[], IloNumVarType[])
 IloSemiContVar[] semiContVarArray(IloColumnArray cols, double[] lb, double[] ub, IloNumVarType[] type, java.lang.String[] name)
          See IloMPModeler.semiContVarArray(IloColumnArray cols, double[] lb, double[] ub, IloNumVarType[] type, String[] name)
 IloSemiContVar[] semiContVarArray(IloColumnArray cols, double lb, double ub, IloNumVarType type)
          See IloMPModeler.semiContVarArray(IloColumnArray, double, double, IloNumVarType)
 IloSemiContVar[] semiContVarArray(IloColumnArray cols, double lb, double ub, IloNumVarType type, java.lang.String[] name)
          See IloMPModeler.semiContVarArray(IloColumnArray, double, double, IloNumVarType, String[])
 IloSemiContVar[] semiContVarArray(int n, double[] lb, double[] ub, IloNumVarType[] type)
          See IloMPModeler.semiContVarArray(int, double[], double[], IloNumVarType[])
 IloSemiContVar[] semiContVarArray(int n, double[] lb, double[] ub, IloNumVarType[] type, java.lang.String[] name)
          See IloMPModeler.semiContVarArray(int, double[], double[], IloNumVarType[], String[])
 IloSemiContVar[] semiContVarArray(int n, double lb, double ub, IloNumVarType type)
          See IloMPModeler.semiContVarArray(int, double, double, IloNumVarType)
 IloSemiContVar[] semiContVarArray(int n, double lb, double ub, IloNumVarType type, java.lang.String[] name)
          See IloMPModeler.semiContVarArray(int, double, double, IloNumVarType, String[])
 void setLinearCoef(IloObjective obj, double val, IloNumVar var)
          See IloMPModeler.setLinearCoef(IloObjective, double, IloNumVar)
 void setLinearCoef(IloObjective obj, IloNumVar var, double val)
          See IloMPModeler.setLinearCoef(IloObjective, IloNumVar, double)
 void setLinearCoef(IloRange rng, double val, IloNumVar var)
          See IloMPModeler.setLinearCoef(IloRange rng, double val, IloNumVar var)
 void setLinearCoef(IloRange rng, IloNumVar var, double val)
          See IloMPModeler.setLinearCoef(IloRange rng, IloNumVar var, double val)
 void setLinearCoefs(IloObjective obj, double[] val, IloNumVar[] var)
          See IloMPModeler.setLinearCoefs(IloObjective, double[], IloNumVar[])
 void setLinearCoefs(IloObjective obj, double[] val, IloNumVar[] var, int start, int num)
          See IloMPModeler.setLinearCoefs(IloObjective, double[], IloNumVar[], int, int)
 void setLinearCoefs(IloObjective obj, IloNumVar[] var, double[] val)
          See IloMPModeler.setLinearCoefs(IloObjective, IloNumVar[], double[])
 void setLinearCoefs(IloObjective obj, IloNumVar[] var, double[] val, int start, int num)
          See IloMPModeler.setLinearCoefs(IloObjective, IloNumVar[], double[], int, int)
 void setLinearCoefs(IloRange rng, double[] val, IloNumVar[] var)
          See IloMPModeler.setLinearCoefs(IloRange rng, double[] val, IloNumVar[] var)
 void setLinearCoefs(IloRange rng, double[] val, IloNumVar[] var, int start, int num)
          See IloMPModeler.setLinearCoefs(IloRange rng, double[] val, IloNumVar[] var, int start, int num)
 void setLinearCoefs(IloRange rng, IloNumVar[] var, double[] val)
          See IloMPModeler.setLinearCoefs(IloRange rng, IloNumVar[] var, double[] val)
 void setLinearCoefs(IloRange rng, IloNumVar[] var, double[] val, int start, int num)
          See IloMPModeler.setLinearCoefs(IloRange rng, IloNumVar[] var, double[] val, int start, int num)
 void setModel(IloModel model)
          Sets model as the active model.
 void setName(java.lang.String str)
          Sets str as the name of the invoking model.
 IloSOS1 SOS1(IloNumVar[] var, double[] val)
          See IloMPModeler.SOS1(IloNumVar[] var, double[] val)
 IloSOS1 SOS1(IloNumVar[] var, double[] val, int start, int num)
          See IloMPModeler.SOS1(IloNumVar[] var, double[] val, int start, int num)
 IloSOS1 SOS1(IloNumVar[] var, double[] val, int start, int num, java.lang.String name)
          See IloMPModeler.SOS1(IloNumVar[] var, double[] val, int start, int num, String name)
 IloSOS1 SOS1(IloNumVar[] var, double[] val, java.lang.String name)
          See IloMPModeler.SOS1(IloNumVar[] var, double[] val, String name)
 java.util.Iterator SOS1iterator()
          Returns an iterator over all IloSOS1 objects in the active model.
 IloSOS2 SOS2(IloNumVar[] var, double[] val)
          See IloMPModeler.SOS2(IloNumVar[] var, double[] val)
 IloSOS2 SOS2(IloNumVar[] var, double[] val, int start, int num)
          See IloMPModeler.SOS2(IloNumVar[] var, double[] val, int start, int num)
 IloSOS2 SOS2(IloNumVar[] var, double[] val, int start, int num, java.lang.String name)
          See IloMPModeler.SOS2(IloNumVar[] var, double[] val, int start, int num, String name)
 IloSOS2 SOS2(IloNumVar[] var, double[] val, java.lang.String name)
          See IloMPModeler.SOS2(IloNumVar[] var, double[] val, String name)
 java.util.Iterator SOS2iterator()
          Returns an iterator over all IloSOS2 objects in the active model.
 IloIntExpr square(IloIntExpr e)
          See IloModeler.square(IloIntExpr)
 IloNumExpr square(IloNumExpr e)
          See IloModeler.square(IloNumExpr)
 IloNumExpr sum(double v, IloNumExpr e1)
          See IloModeler.sum(double, IloNumExpr)
 IloIntExpr sum(IloIntExpr[] expr)
          See IloModeler.sum(IloIntExpr[] expr)
 IloIntExpr sum(IloIntExpr[] expr, int start, int num)
          See IloModeler.sum(IloIntExpr[] expr, int start, int num)
 IloIntExpr sum(IloIntExpr expr1, IloIntExpr expr2)
          See IloModeler.sum(IloIntExpr, IloIntExpr)
 IloIntExpr sum(IloIntExpr expr1, IloIntExpr expr2, IloIntExpr expr3)
          See IloModeler.sum(IloIntExpr, IloIntExpr, IloIntExpr)
 IloIntExpr sum(IloIntExpr expr1, IloIntExpr expr2, IloIntExpr expr3, IloIntExpr expr4)
          See IloModeler.sum(IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr)
 IloIntExpr sum(IloIntExpr expr1, IloIntExpr expr2, IloIntExpr expr3, IloIntExpr expr4, IloIntExpr expr5)
          See IloModeler.sum(IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr)
 IloIntExpr sum(IloIntExpr expr1, IloIntExpr expr2, IloIntExpr expr3, IloIntExpr expr4, IloIntExpr expr5, IloIntExpr expr6)
          See IloModeler.sum(IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr)
 IloIntExpr sum(IloIntExpr expr1, IloIntExpr expr2, IloIntExpr expr3, IloIntExpr expr4, IloIntExpr expr5, IloIntExpr expr6, IloIntExpr expr7)
          See IloModeler.sum(IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr)
 IloIntExpr sum(IloIntExpr expr1, IloIntExpr expr2, IloIntExpr expr3, IloIntExpr expr4, IloIntExpr expr5, IloIntExpr expr6, IloIntExpr expr7, IloIntExpr expr8)
          See IloModeler.sum(IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr)
 IloIntExpr sum(IloIntExpr e, int v)
          See IloModeler.sum(IloIntExpr, int)
 IloNumExpr sum(IloNumExpr[] expr)
          See IloModeler.sum(IloNumExpr[] expr)
 IloNumExpr sum(IloNumExpr[] expr, int start, int num)
          See IloModeler.sum(IloNumExpr[] expr, int start, int num)
 IloNumExpr sum(IloNumExpr e, double v)
          See IloModeler.sum(IloNumExpr, double)
 IloNumExpr sum(IloNumExpr e1, IloNumExpr e2)
          See IloModeler.sum(IloNumExpr, IloNumExpr)
 IloNumExpr sum(IloNumExpr expr1, IloNumExpr expr2, IloNumExpr expr3)
          See IloModeler.sum(IloNumExpr, IloNumExpr, IloNumExpr)
 IloNumExpr sum(IloNumExpr expr1, IloNumExpr expr2, IloNumExpr expr3, IloNumExpr expr4)
          See IloModeler.sum(IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr)
 IloNumExpr sum(IloNumExpr expr1, IloNumExpr expr2, IloNumExpr expr3, IloNumExpr expr4, IloNumExpr expr5)
          See IloModeler.sum(IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr)
 IloNumExpr sum(IloNumExpr expr1, IloNumExpr expr2, IloNumExpr expr3, IloNumExpr expr4, IloNumExpr expr5, IloNumExpr expr6)
          See IloModeler.sum(IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr)
 IloNumExpr sum(IloNumExpr expr1, IloNumExpr expr2, IloNumExpr expr3, IloNumExpr expr4, IloNumExpr expr5, IloNumExpr expr6, IloNumExpr expr7)
          See IloModeler.sum(IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr)
 IloNumExpr sum(IloNumExpr expr1, IloNumExpr expr2, IloNumExpr expr3, IloNumExpr expr4, IloNumExpr expr5, IloNumExpr expr6, IloNumExpr expr7, IloNumExpr expr8)
          See IloModeler.sum(IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr)
 IloIntExpr sum(int v, IloIntExpr e1)
          See IloModeler.sum(int, IloIntExpr)
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IloCplexModeler

public IloCplexModeler()
Method Detail

toString

public java.lang.String toString()

getModel

public IloModel getModel()
                  throws IloException
Returns the active model.

Specified by:
getModel in interface IloMPModeler
Returns:
The active model.
Throws:
IloException

setModel

public void setModel(IloModel model)
              throws IloException
Sets model as the active model.

Specified by:
setModel in interface IloMPModeler
Throws:
IloException

getName

public java.lang.String getName()
Returns the name of the invoking model, if there is one. See IloAddable.getName()

Specified by:
getName in interface IloAddable
Returns:
The name assigned to the invoking modeling object.

setName

public void setName(java.lang.String str)
Sets str as the name of the invoking model. See IloAddable.setName(String)

Specified by:
setName in interface IloAddable
Parameters:
str - The name assigned to the invoking modeling object. null can be passed as argument to remove an assigned name from the invoking modeling object.

add

public IloAddable add(IloAddable object)
               throws IloException
Adds object to the invoking model. See IloModel.add(IloAddable)

Specified by:
add in interface IloModel
Parameters:
object - The modeling object to be added to the invoking IloModel.
Returns:
The modeling object that has been added.
Throws:
IloException

add

public IloAddable[] add(IloAddable[] objects)
                 throws IloException
Adds the array of objects to the invoking model. See IloModel.add(IloAddable[])

Specified by:
add in interface IloModel
Parameters:
objects - The array of modeling objects to be added to the invoking IloModel.
Returns:
The array of modeling objects that have been added.
Throws:
IloException

add

public IloAddable[] add(IloAddable[] objects,
                        int start,
                        int num)
                 throws IloException
Adds part of the array of objects to the invoking model, starting with the index start and continuing to the number of objects indicated by num. See IloModel.add(IloAddable[], int, int)

Specified by:
add in interface IloModel
Parameters:
objects - The array of modeling objects to be added to the invoking IloModel.
start - The first modeling object to be added to the invoking IloModel.
num - The number of modeling objects to be added to the invoking IloModel.
Returns:
The array of modeling objects that have been added.
Throws:
IloException

remove

public IloAddable remove(IloAddable object)
                  throws IloException
Removes object from the invoking model. See IloModel.remove(IloAddable)

Specified by:
remove in interface IloModel
Parameters:
object - The modeling object to be removed from the invoking IloModel.
Returns:
The modeling object that has been reduced by removal of an object.
Throws:
IloException

remove

public IloAddable[] remove(IloAddable[] objects)
                    throws IloException
Removes the array of objects from the invoking model. See IloModel.remove(IloAddable[])

Throws:
IloException

remove

public IloAddable[] remove(IloAddable[] objects,
                           int start,
                           int num)
                    throws IloException
Removes part of the array of objects from the invoking model, starting with the index start and continuing to the number of objects indicated by num. See IloModel.remove(IloAddable[], int, int)

Throws:
IloException

iterator

public java.util.Iterator iterator()
Returns an iterator suitable for the invoking model. See IloModel.iterator()

Specified by:
iterator in interface IloModel

numVar

public IloNumVar numVar(double lb,
                        double ub,
                        IloNumVarType type)
                 throws IloException
See IloModeler.numVar(double, double, IloNumVarType)

Specified by:
numVar in interface IloModeler
Parameters:
lb - The lower bound of the new numeric variable.
ub - The upper bound of the new numeric variable.
type - The type of the new numeric variable.
Returns:
The new numeric variable object.
Throws:
IloException

numVar

public IloNumVar numVar(double lb,
                        double ub,
                        IloNumVarType type,
                        java.lang.String name)
                 throws IloException
See IloModeler.numVar(double, double, IloNumVarType, String)

Specified by:
numVar in interface IloModeler
Parameters:
lb - The lower bound of the new numeric variable.
ub - The upper bound of the new numeric variable.
type - The type of the new numeric variable.
name - The name of the new numeric variable.
Returns:
The new numeric variable object.
Throws:
IloException

numVarArray

public IloNumVar[] numVarArray(int n,
                               double lb,
                               double ub,
                               IloNumVarType type)
                        throws IloException
See IloModeler.numVarArray(int, double, double, IloNumVarType)

Specified by:
numVarArray in interface IloModeler
Parameters:
n - The number of new numeric variables.
lb - The lower bound of the new numeric variables.
ub - The upper bound of the new numeric variables.
type - The type of the new numeric variables.
Returns:
An array containing the n new numeric variables.
Throws:
IloException

numVarArray

public IloNumVar[] numVarArray(int n,
                               double lb,
                               double ub,
                               IloNumVarType type,
                               java.lang.String[] name)
                        throws IloException
See IloModeler.numVarArray(int, double, double, IloNumVarType, String[])

Specified by:
numVarArray in interface IloModeler
Parameters:
lb - The lower bound of the new numeric variables.
ub - The upper bound of the new numeric variables.
type - The type of the new numeric variables.
name - The names of the new numeric variables. Variable i is assigned the name name[i].
Returns:
An array containing the n new numeric variables.
Throws:
IloException

numVarArray

public IloNumVar[] numVarArray(int n,
                               double[] lb,
                               double[] ub,
                               IloNumVarType[] type)
                        throws IloException
See IloModeler.numVarArray(int, double[], double[], IloNumVarType[])

Specified by:
numVarArray in interface IloModeler
Parameters:
lb - The lower bounds of the new numeric variables. Variable i is constructed with the lower bound lb[i].
ub - The upper bounds of the new numeric variables. Variable i is constructed with the upper bound ub[i].
type - The types of the new numeric variables. Variable i is constructed with the type type[i].
Returns:
An array containing the n new numeric variables.
Throws:
IloException

numVarArray

public IloNumVar[] numVarArray(int n,
                               double[] lb,
                               double[] ub,
                               IloNumVarType[] type,
                               java.lang.String[] name)
                        throws IloException
See IloModeler.numVarArray(int, double[], double[], IloNumVarType[], String[])

Specified by:
numVarArray in interface IloModeler
Parameters:
lb - The lower bounds of the new numeric variables. Variable i is constructed with the lower bound lb[i].
ub - The upper bounds of the new numeric variables. Variable i is constructed with the upper bound ub[i].
type - The types of the new numeric variables. Variable i is constructed with the type type[i].
name - The names of the new numeric variables. Variable i is assigned the name name[i].
Returns:
An array containing the n new numeric variables.
Throws:
IloException

numVar

public IloNumVar numVar(double lb,
                        double ub,
                        java.lang.String name)
                 throws IloException
See IloModeler.numVar(double, double, String)

Specified by:
numVar in interface IloModeler
Parameters:
lb - The lower bound of the new modeling variable.
ub - The upper bound of the new modeling variable.
name - The name of the new modeling variable.
Returns:
The new modeling variable.
Throws:
IloException

numVar

public IloNumVar numVar(double lb,
                        double ub)
                 throws IloException
See IloModeler.numVar(double, double)

Specified by:
numVar in interface IloModeler
Parameters:
lb - The lower bound of the new modeling variable.
ub - The upper bound of the new modeling variable.
Returns:
The new modeling variable.
Throws:
IloException

numVarArray

public IloNumVar[] numVarArray(int n,
                               double lb,
                               double ub)
                        throws IloException
See IloModeler.numVarArray(int, double, double)

Specified by:
numVarArray in interface IloModeler
Parameters:
n - Length of the new array; that is, number of new numeric variables.
lb - The lower bound of each new variable.
ub - The upper bound of each new variable.
Returns:
The array new modeling variables.
Throws:
IloException

numVarArray

public IloNumVar[] numVarArray(int n,
                               double[] lb,
                               double[] ub)
                        throws IloException
See IloModeler.numVarArray(int, double[], double[])

Specified by:
numVarArray in interface IloModeler
Parameters:
lb - The lower bounds of the new modeling variable. Variable i will be constructed with a lower bound of lb[i].
ub - The upper bounds of the new modeling variable. Variable i will be constructed with an upper bound of lb[i].
Returns:
The array of new modeling variables.
Throws:
IloException

numVarArray

public IloNumVar[] numVarArray(int n,
                               double lb,
                               double ub,
                               java.lang.String[] name)
                        throws IloException
See IloModeler.numVarArray(int, double, double, String[])

Specified by:
numVarArray in interface IloModeler
Parameters:
lb - The lower bound of the new modeling variable.
ub - The upper bound of the new modeling variable.
name - The names of the new modeling variables.
Returns:
The array of new modeling variables.
Throws:
IloException

numVarArray

public IloNumVar[] numVarArray(int n,
                               double[] lb,
                               double[] ub,
                               java.lang.String[] name)
                        throws IloException
See IloModeler.numVarArray(int, double[], double[], String[])

Specified by:
numVarArray in interface IloModeler
Parameters:
lb - The lower bound of the new modeling variable.
ub - The upper bound of the new modeling variable.
name - The names of the new modeling variables. Variable i is assigned the name name[i].
Returns:
The array new modeling variables.
Throws:
IloException

intVar

public IloIntVar intVar(int lb,
                        int ub,
                        java.lang.String name)
                 throws IloException
See IloModeler.intVar(int, int, String)

Specified by:
intVar in interface IloModeler
Parameters:
lb - The minimum value of the variable.
ub - The maximum value of the variable.
name - The name of the variable.
Throws:
IloException

intVar

public IloIntVar intVar(int lb,
                        int ub)
                 throws IloException
See IloModeler.intVar(int, int)

Specified by:
intVar in interface IloModeler
Parameters:
lb - The minimum value of the variable.
ub - The maximum value of the variable.
Throws:
IloException

intVarArray

public IloIntVar[] intVarArray(int n,
                               int lb,
                               int ub)
                        throws IloException
See IloModeler.intVarArray(int, int, int)

Specified by:
intVarArray in interface IloModeler
Parameters:
lb - The lower bound of the new modeling variable.
ub - The upper bound of the new modeling variable.
Returns:
The array of new modeling variables.
Throws:
IloException

intVarArray

public IloIntVar[] intVarArray(int n,
                               int[] lb,
                               int[] ub)
                        throws IloException
See IloModeler.intVarArray(int, int[], int[])

Specified by:
intVarArray in interface IloModeler
Parameters:
lb - The lower bounds of the new modeling variable. Variable i will be constructed with a lower bound of min[i].
ub - The upper bounds of the new modeling variable. Variable i will be constructed with an upper bound of max[i].
Returns:
The array of new modeling variables.
Throws:
IloException

intVarArray

public IloIntVar[] intVarArray(int n,
                               int lb,
                               int ub,
                               java.lang.String[] name)
                        throws IloException
See IloModeler.intVarArray(int, int, int, String[])

Specified by:
intVarArray in interface IloModeler
Parameters:
lb - The lower bound of the new modeling variable.
ub - The upper bound of the new modeling variable.
name - The names of the new modeling variables. Variable i is assigned the name name[i].
Returns:
The new modeling variable object.
Throws:
IloException

intVarArray

public IloIntVar[] intVarArray(int n,
                               int[] lb,
                               int[] ub,
                               java.lang.String[] name)
                        throws IloException
See IloModeler.intVarArray(int, int[], int[], String[])

Specified by:
intVarArray in interface IloModeler
Parameters:
lb - The lower bounds of the new modeling variable. Variable i will be constructed with a lower bound of min[i].
ub - The upper bounds of the new modeling variable. Variable i will be constructed with an upper bound of max[i].
name - The names of the new modeling variables. Variable i will be assigned the name name[i].
Returns:
The array of new modeling variables.
Throws:
IloException

boolVar

public IloIntVar boolVar(java.lang.String name)
                  throws IloException
See IloModeler.boolVar(String)

Specified by:
boolVar in interface IloModeler
Parameters:
name - The name of the variable.
Throws:
IloException

boolVar

public IloIntVar boolVar()
                  throws IloException
See IloModeler.boolVar()

Specified by:
boolVar in interface IloModeler
Throws:
IloException

boolVarArray

public IloIntVar[] boolVarArray(int n)
                         throws IloException
See IloModeler.boolVarArray(int)

Specified by:
boolVarArray in interface IloModeler
Throws:
IloException

boolVarArray

public IloIntVar[] boolVarArray(int n,
                                java.lang.String[] name)
                         throws IloException
See IloModeler.boolVarArray(int, String[])

Specified by:
boolVarArray in interface IloModeler
Throws:
IloException

minimize

public IloObjective minimize(IloNumExpr expr,
                             java.lang.String name)
                      throws IloException
See IloModeler.minimize(IloNumExpr, String)

Specified by:
minimize in interface IloModeler
Parameters:
expr - Expression to minimize.
name - Name assigned to the new IloObjective object.
Returns:
An IloObjective object representing the objective to minimize expr.
Throws:
IloException

maximize

public IloObjective maximize(IloNumExpr expr,
                             java.lang.String name)
                      throws IloException
See IloModeler.maximize(IloNumExpr, String)

Specified by:
maximize in interface IloModeler
Parameters:
expr - Expression to maximize.
name - Name assigned to the new IloObjective object.
Returns:
An IloObjective object representing the objective to maximize expr.
Throws:
IloException

objective

public IloObjective objective(IloObjectiveSense sense,
                              IloNumExpr expr,
                              java.lang.String name)
                       throws IloException
See IloModeler.objective(IloObjectiveSense, IloNumExpr, String)

Specified by:
objective in interface IloModeler
Parameters:
sense - Optimization sense.
expr - Expression to maximize.
name - Name assigned to the new IloObjective object.
Returns:
An IloObjective object representing the objective to maximize expr.
Throws:
IloException

minimize

public IloObjective minimize(IloNumExpr expr)
                      throws IloException
See IloModeler.minimize(IloNumExpr)

Specified by:
minimize in interface IloModeler
Parameters:
expr - Expression to minimize.
Returns:
An IloObjective object representing the objective to minimize expr.
Throws:
IloException

maximize

public IloObjective maximize(IloNumExpr expr)
                      throws IloException
See IloModeler.maximize(IloNumExpr)

Specified by:
maximize in interface IloModeler
Parameters:
expr - Expression to maximize.
Returns:
An IloObjective object representing the objective to maximize expr.
Throws:
IloException

objective

public IloObjective objective(IloObjectiveSense sense,
                              IloNumExpr expr)
                       throws IloException
See IloModeler.objective(IloObjectiveSense, IloNumExpr)

Specified by:
objective in interface IloModeler
Parameters:
sense - Optimization sense.
expr - Expression to maximize.
Returns:
An IloObjective object representing the objective to maximize expr.
Throws:
IloException

addObjective

public IloObjective addObjective(IloObjectiveSense sense,
                                 IloNumExpr expr,
                                 java.lang.String name)
                          throws IloException
See IloModeler.addObjective(IloObjectiveSense, IloNumExpr, String)

Specified by:
addObjective in interface IloModeler
Parameters:
sense - Optimization sense.
expr - Expression to maximize.
name - Name assigned to the new IloObjective object.
Returns:
An IloObjective object representing the objective to maximize expr.
Throws:
IloException

addMinimize

public IloObjective addMinimize(IloNumExpr expr)
                         throws IloException
See IloModeler.addMinimize(IloNumExpr)

Specified by:
addMinimize in interface IloModeler
Parameters:
expr - Expression to minimize.
Returns:
An IloObjective object representing the objective to minimize expr.
Throws:
IloException

addMaximize

public IloObjective addMaximize(IloNumExpr expr)
                         throws IloException
See IloModeler.addMaximize(IloNumExpr)

Specified by:
addMaximize in interface IloModeler
Parameters:
expr - Expression to maximize.
Returns:
An IloObjective object representing the objective to maximize expr.
Throws:
IloException

addObjective

public IloObjective addObjective(IloObjectiveSense sense,
                                 IloNumExpr expr)
                          throws IloException
See IloModeler.addObjective(IloObjectiveSense, IloNumExpr)

Specified by:
addObjective in interface IloModeler
Parameters:
sense - Optimization sense.
expr - Expression to maximize.
Returns:
An IloObjective object representing the objective to maximize expr.
Throws:
IloException

linearNumExpr

public IloLinearNumExpr linearNumExpr()
                               throws IloException
See IloModeler.linearNumExpr()

Specified by:
linearNumExpr in interface IloModeler
Returns:
A zero linear expression.
Throws:
IloException

linearNumExpr

public IloLinearNumExpr linearNumExpr(double val)
                               throws IloException
See IloModeler.linearNumExpr(double)

Specified by:
linearNumExpr in interface IloModeler
Parameters:
val - The constant term of the new linear expression.
Returns:
The linear expression initialized as the constant val.
Throws:
IloException

scalProd

public IloLinearNumExpr scalProd(double[] vals,
                                 IloNumVar[] vars)
                          throws IloException
See IloModeler.scalProd(double[], IloNumVar[])

Specified by:
scalProd in interface IloModeler
Parameters:
vals - The values involved in the new scalar product expression.
vars - The variables involved in the new scalar product expression.
Returns:
The new linear expression.
Throws:
IloException

scalProd

public IloLinearNumExpr scalProd(IloNumVar[] vars,
                                 double[] vals)
                          throws IloException
See IloModeler.scalProd(IloNumVar[], double[])

Specified by:
scalProd in interface IloModeler
Parameters:
vars - The variables involved in the new scalar product expression.
vals - The values involved in the new scalar product expression.
Returns:
The new linear expression.
Throws:
IloException

scalProd

public IloLinearNumExpr scalProd(double[] vals,
                                 IloNumVar[] vars,
                                 int start,
                                 int num)
                          throws IloException
See IloModeler.scalProd(double[], IloNumVar[], int, int)

Specified by:
scalProd in interface IloModeler
Parameters:
vals - An array containing the values to be used for the scalar product.
vars - An array containing the variables to be used for the scalar product.
start - The first element in coefs/vars to use for the scalar product.
num - The number of elements in coefs/vars to use for the scalar product.
Returns:
The new linear expression.
Throws:
IloException

scalProd

public IloLinearNumExpr scalProd(IloNumVar[] vars,
                                 double[] vals,
                                 int start,
                                 int num)
                          throws IloException
See IloModeler.scalProd(IloNumVar[], double[], int, int)

Specified by:
scalProd in interface IloModeler
Parameters:
vals - An array containing the values to be used for the scalar product.
vars - An array containing the variables to be used for the scalar product.
start - The first element in coefs and in vars to use for the scalar product.
num - The number of elements in coefs and in vars to use for the scalar product.
Returns:
The new linear expression.
Throws:
IloException

scalProd

public IloLinearNumExpr scalProd(int[] vals,
                                 IloNumVar[] vars)
                          throws IloException
See IloModeler.scalProd(int[], IloNumVar[])

Specified by:
scalProd in interface IloModeler
Parameters:
vals - The values involved in the new scalar product expression.
vars - The variables involved in the new scalar product expression.
Returns:
The new linear expression.
Throws:
IloException

scalProd

public IloLinearNumExpr scalProd(IloNumVar[] vars,
                                 int[] vals)
                          throws IloException
See IloModeler.scalProd(IloNumVar[], int[])

Specified by:
scalProd in interface IloModeler
Parameters:
vals - The values involved in the new scalar product expression.
vars - The variables involved in the new scalar product expression.
Returns:
The new linear expression.
Throws:
IloException

linearIntExpr

public IloLinearIntExpr linearIntExpr(int val)
                               throws IloException
See IloModeler.linearIntExpr(int)

Specified by:
linearIntExpr in interface IloModeler
Parameters:
val - Constant term of the new linear expression.
Returns:
Integer linear expression initialized as the constant val.
Throws:
IloException

scalProd

public IloLinearIntExpr scalProd(int[] vals,
                                 IloIntVar[] vars)
                          throws IloException
See IloModeler.scalProd(int[], IloIntVar[])

Specified by:
scalProd in interface IloModeler
Parameters:
vals - The integer values involved in the new scalar product.
vars - The integer variables involved in the new scalar product
Returns:
The new integer linear expression.
Throws:
IloException

scalProd

public IloLinearIntExpr scalProd(IloIntVar[] vars,
                                 int[] vals)
                          throws IloException
See IloModeler.scalProd(IloIntVar[], int[])

Specified by:
scalProd in interface IloModeler
Parameters:
vars - The integer variables involved in the new scalar product expression.
vals - The integer values involved in the new scalar product expression.
Returns:
The new integer linear expression.
Throws:
IloException

scalProd

public IloLinearIntExpr scalProd(int[] vals,
                                 IloIntVar[] vars,
                                 int start,
                                 int num)
                          throws IloException
See IloModeler.scalProd(int[], IloIntVar[], int, int)

Specified by:
scalProd in interface IloModeler
Parameters:
vals - An array containing the values to be used for the scalar product.
vars - An array containing the variables to be used for the scalar product.
start - First element in vals and vars to be used for the scalar product.
num - Number of elements in vals and vars to be used for the scalar product.
Returns:
The new integer linear expression.
Throws:
IloException

scalProd

public IloLinearIntExpr scalProd(IloIntVar[] vars,
                                 int[] vals,
                                 int start,
                                 int num)
                          throws IloException
See IloModeler.scalProd(IloIntVar[], int[], int, int)

Specified by:
scalProd in interface IloModeler
Parameters:
vars - An array containing the variables to be used for the scalar product.
vals - An array containing the values to be used for the scalar product.
start - First element in vals and vars to be used for the scalar product.
num - Number of elements in vals and vars to be used for the scalar product.
Returns:
The new integer linear expression.
Throws:
IloException

scalProd

public IloIntExpr scalProd(IloIntVar[] vars1,
                           IloIntVar[] vars2)
                    throws IloException
Creates and returns a linear expression representing the scalar product of the given variables.

Specified by:
scalProd in interface IloModeler
Parameters:
vars1 - The first array of variables involved in the new scalar product expression.
vars2 - The second array of variables involved in the new scalar product expression.
Returns:
The new linear expression.
Throws:
IloException

scalProd

public IloIntExpr scalProd(IloIntVar[] vars1,
                           IloIntVar[] vars2,
                           int start,
                           int num)
                    throws IloException
Creates and returns a linear expression representing the scalar product of the given variables.

Specified by:
scalProd in interface IloModeler
Parameters:
vars1 - The first array of variables involved in the new scalar product expression.
vars2 - The second array of variables involved in the new scalar product expression.
start - Index of the term to start the multiplication.
num - Number of consecutive terms to multiply, starting from the index indicated by start.
Returns:
The new linear expression.
Throws:
IloException

negative

public IloNumExpr negative(IloNumExpr e)
                    throws IloException
See IloModeler.negative(IloNumExpr)

Specified by:
negative in interface IloModeler
Parameters:
e - An expression for which the negative value is given.
Returns:
An expression representing the negation of e.
Throws:
IloException

sum

public IloNumExpr sum(IloNumExpr e,
                      double v)
               throws IloException
See IloModeler.sum(IloNumExpr, double)

Specified by:
sum in interface IloModeler
Parameters:
e - The numeric expression.
v - The value.
Returns:
An expression representing the sum of e + v.
Throws:
IloException

sum

public IloNumExpr sum(IloNumExpr e1,
                      IloNumExpr e2)
               throws IloException
See IloModeler.sum(IloNumExpr, IloNumExpr)

Specified by:
sum in interface IloModeler
Parameters:
e1 - The first numeric expression.
e2 - The second numeric expression.
Returns:
A numeric expression representing the sum of e1 + e2.
Throws:
IloException

sum

public IloNumExpr sum(double v,
                      IloNumExpr e1)
               throws IloException
See IloModeler.sum(double, IloNumExpr)

Specified by:
sum in interface IloModeler
Parameters:
v - The value.
e1 - The numeric expression.
Returns:
An expression representing the sum of v + e.
Throws:
IloException

sum

public IloNumExpr sum(IloNumExpr expr1,
                      IloNumExpr expr2,
                      IloNumExpr expr3)
               throws IloException
See IloModeler.sum(IloNumExpr, IloNumExpr, IloNumExpr)

Specified by:
sum in interface IloModeler
Parameters:
expr1 - The first numeric expression.
expr2 - The second numeric expression.
expr3 - The third numeric expression.
Returns:
A numeric expression representing the sum of e1 + e2 + e3.
Throws:
IloException

sum

public IloNumExpr sum(IloNumExpr expr1,
                      IloNumExpr expr2,
                      IloNumExpr expr3,
                      IloNumExpr expr4)
               throws IloException
See IloModeler.sum(IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr)

Specified by:
sum in interface IloModeler
Parameters:
expr1 - The first numeric expression.
expr2 - The second numeric expression.
expr3 - The third numeric expression.
expr4 - The fourth numeric expression.
Returns:
A numeric expression representing the sum of e1 + e2 + e3 + e4.
Throws:
IloException

sum

public IloNumExpr sum(IloNumExpr expr1,
                      IloNumExpr expr2,
                      IloNumExpr expr3,
                      IloNumExpr expr4,
                      IloNumExpr expr5)
               throws IloException
See IloModeler.sum(IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr)

Specified by:
sum in interface IloModeler
Parameters:
expr1 - The first numeric expression.
expr2 - The second numeric expression.
expr3 - The third numeric expression.
expr4 - The fourth numeric expression.
expr5 - The fifth numeric expression.
Returns:
A numeric expression representing the sum of e1 + e2 + e3 + e4 + e5.
Throws:
IloException

sum

public IloNumExpr sum(IloNumExpr expr1,
                      IloNumExpr expr2,
                      IloNumExpr expr3,
                      IloNumExpr expr4,
                      IloNumExpr expr5,
                      IloNumExpr expr6)
               throws IloException
See IloModeler.sum(IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr)

Specified by:
sum in interface IloModeler
Parameters:
expr1 - The first numeric expression.
expr2 - The second numeric expression.
expr3 - The third numeric expression.
expr4 - The fourth numeric expression.
expr5 - The fifth numeric expression.
expr6 - The sixth numeric expression.
Returns:
A numeric expression representing the sum of e1 + e2 + e3 + e4 + e5 + e6.
Throws:
IloException

sum

public IloNumExpr sum(IloNumExpr expr1,
                      IloNumExpr expr2,
                      IloNumExpr expr3,
                      IloNumExpr expr4,
                      IloNumExpr expr5,
                      IloNumExpr expr6,
                      IloNumExpr expr7)
               throws IloException
See IloModeler.sum(IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr)

Specified by:
sum in interface IloModeler
Parameters:
expr1 - The first numeric expression.
expr2 - The second numeric expression.
expr3 - The third numeric expression.
expr4 - The fourth numeric expression.
expr5 - The fifth numeric expression.
expr6 - The sixth numeric expression.
expr7 - The seventh numeric expression.
Returns:
A numeric expression representing the sum of e1 + e2 + e3 + e4 + e5 + e6 + e7.
Throws:
IloException

sum

public IloNumExpr sum(IloNumExpr expr1,
                      IloNumExpr expr2,
                      IloNumExpr expr3,
                      IloNumExpr expr4,
                      IloNumExpr expr5,
                      IloNumExpr expr6,
                      IloNumExpr expr7,
                      IloNumExpr expr8)
               throws IloException
See IloModeler.sum(IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr, IloNumExpr)

Specified by:
sum in interface IloModeler
Parameters:
expr1 - The first numeric expression.
expr2 - The second numeric expression.
expr3 - The third numeric expression.
expr4 - The fourth numeric expression.
expr5 - The fifth numeric expression.
expr6 - The sixth numeric expression.
expr7 - The seventh numeric expression.
expr8 - The eighth numeric expression.
Returns:
A numeric expression representing the sum of e1 + e2 + e3 + e4 + e5 + e6 + e7 + e8.
Throws:
IloException

diff

public IloIntExpr diff(IloIntExpr e,
                       int v)
                throws IloException
See IloModeler.diff(IloIntExpr, int)

Specified by:
diff in interface IloModeler
Parameters:
e - An integer expression to use in the difference.
v - A value to subtract
Returns:
An integer expression representing the difference e - v.
Throws:
IloException

diff

public IloNumExpr diff(IloNumExpr e,
                       double v)
                throws IloException
See IloModeler.diff(IloNumExpr, double)

Specified by:
diff in interface IloModeler
Parameters:
e - An expression to use in the difference.
v - A value to subtract.
Returns:
An expression representing the difference e - v.
Throws:
IloException

diff

public IloNumExpr diff(IloNumExpr e1,
                       IloNumExpr e2)
                throws IloException
See IloModeler.diff(IloNumExpr, IloNumExpr)

Specified by:
diff in interface IloModeler
Parameters:
e1 - An expression to use in the difference.
e2 - An expression to subtract.
Returns:
An expression representing the difference e1 - e2.
Throws:
IloException

diff

public IloNumExpr diff(double v,
                       IloNumExpr e1)
                throws IloException
See IloModeler.diff(double, IloNumExpr)

Specified by:
diff in interface IloModeler
Parameters:
v - A value to use in the difference.
e1 - An expression to subtract.
Returns:
An expression representing the difference v - e1.
Throws:
IloException

and

public final IloAnd and()
                 throws IloException
Groups constraints together. See IloModeler.and()

Specified by:
and in interface IloModeler
Throws:
IloException
See Also:
IloAnd

and

public final IloAnd and(IloConstraint[] cons)
                 throws IloException
Groups constraints together. See IloModeler.and()

Specified by:
and in interface IloModeler
Parameters:
cons - The array of constraints to group.
Throws:
IloException
See Also:
IloAnd

and

public final IloAnd and(IloConstraint[] cons,
                        java.lang.String name)
                 throws IloException
Groups constraints together. See IloModeler.and()

Specified by:
and in interface IloModeler
Parameters:
cons - The array of constraints to group.
name - The name of the resulting and-constraint.
Throws:
IloException
See Also:
IloAnd

and

public final IloAnd and(IloConstraint[] cons,
                        int start,
                        int num)
                 throws IloException
Groups together part of the constraints in the array cons starting with the index indicated by start and continuing to the number of constraints indicated by num. See IloModeler.and()

Specified by:
and in interface IloModeler
Parameters:
cons - The array of constraints to group.
start - Index of the first constraint in the resulting and-constraint.
num - Number of constraints in the resulting and-constraint.
Throws:
IloException
See Also:
IloAnd

and

public final IloAnd and(IloConstraint[] cons,
                        int start,
                        int num,
                        java.lang.String name)
                 throws IloException
Groups together part of the constraints from the array cons starting with the index indicated by start and continuing to the number of constraints indicated by num. This method assigns the string name to the group. See IloModeler.and()

Specified by:
and in interface IloModeler
Parameters:
cons - The array of constraints to group.
start - Index of the first constraint in the resulting and-constraint.
num - Number of constraints in the resulting and-constraint.
name - The name of the and-constraint.
Throws:
IloException
See Also:
IloAnd

and

public final IloAnd and(IloConstraint con1,
                        IloConstraint con2)
                 throws IloException
Groups together the constraints indicated by its arguments. See IloModeler.and()

Specified by:
and in interface IloModeler
Parameters:
con1 - The first constraint to group.
con2 - The second constraint to group.
Throws:
IloException
See Also:
IloAnd

and

public final IloAnd and(IloConstraint con1,
                        IloConstraint con2,
                        java.lang.String name)
                 throws IloException
Groups together the constraints indicated by its arguments and assigns the string name to the group. See IloModeler.and()

Specified by:
and in interface IloModeler
Parameters:
con1 - The first constraint to group.
con2 - The second constraint to group.
name - The name of the resulting and-constraint.
Throws:
IloException
See Also:
IloAnd

or

public final IloOr or()
               throws IloException
Returns a constraint that at least one and possibly more than one of the elements is true in its argument cons, an array of constraints. See IloModeler.or()

Specified by:
or in interface IloModeler
Throws:
IloException
See Also:
IloOr

or

public final IloOr or(IloConstraint[] cons)
               throws IloException
Returns a constraint that at least one and possibly more than one of the elements is true in its argument cons, an array of constraints. See IloModeler.or()

Specified by:
or in interface IloModeler
Throws:
IloException

or

public final IloOr or(IloConstraint[] cons,
                      java.lang.String name)
               throws IloException
Returns a constraint that at least one and possibly more than one of the elements is true in its argument cons, an array of constraints and also assigns the string name as the name of that returned constraint. See IloModeler.or()

Specified by:
or in interface IloModeler
Throws:
IloException

or

public final IloOr or(IloConstraint[] cons,
                      int start,
                      int num)
               throws IloException
Returns a constraint that at least one and possibly more than one of the elements is true in the range of indices starting at the index indicated by start and continuing through the number of elements indicated by the number num among the elements of its argument cons, an array of constraints. See IloModeler.or()

Specified by:
or in interface IloModeler
Throws:
IloException

or

public final IloOr or(IloConstraint[] cons,
                      int start,
                      int num,
                      java.lang.String name)
               throws IloException
Returns a constraint that at least one and possibly more than one of the elements is true in the range of indices starting at the index indicated by start and continuing through the number of elements indicated by the number num among the elements of its argument cons, an array of constraints; also assigns the string name as the name of the returned constraint. See IloModeler.or()

Specified by:
or in interface IloModeler
Throws:
IloException

or

public final IloOr or(IloConstraint con1,
                      IloConstraint con2)
               throws IloException
Returns a constraint that at least one and possibly both of its arguments are true.

In other words, it returns the logical-or of two constraints.

See IloModeler.or()

Specified by:
or in interface IloModeler
Throws:
IloException

or

public final IloOr or(IloConstraint con1,
                      IloConstraint con2,
                      java.lang.String name)
               throws IloException
Returns a constraint that at least one and possibly both of its arguments are true.

In other words, it returns the logical-or of two constraints. It also assigns the string name as the name of that returned constraint.

See IloModeler.or()

Specified by:
or in interface IloModeler
Throws:
IloException

ifThen

public final IloConstraint ifThen(IloConstraint con1,
                                  IloConstraint con2)
                           throws IloException
Returns a constraint that if con1 is true, then con2 must also be true. In other words, it returns a conditional constraint based on its arguments. See IloModeler.ifThen(ilog.concert.IloConstraint, ilog.concert.IloConstraint)

Specified by:
ifThen in interface IloModeler
Throws:
IloException

ifThen

public final IloConstraint ifThen(IloConstraint con1,
                                  IloConstraint con2,
                                  java.lang.String name)
                           throws IloException
Returns a constraint that if con1 is true, then con2 must also be true. In other words, it returns a conditional constraint based on its arguments. Also assigns the string name as the name of the returned constraint. See IloModeler.ifThen(ilog.concert.IloConstraint, ilog.concert.IloConstraint)

Specified by:
ifThen in interface IloModeler
Throws:
IloException

not

public final IloConstraint not(IloConstraint con1)
                        throws IloException
Returns a constraint that is the logical negation of its argument. See IloModeler.not(ilog.concert.IloConstraint)

Specified by:
not in interface IloModeler
Throws:
IloException

not

public final IloConstraint not(IloConstraint con1,
                               java.lang.String name)
                        throws IloException
Returns a constraint that is the logical negation of its argument. It also assigns the string name as the name of the returned constraint. See IloModeler.not(ilog.concert.IloConstraint)

Specified by:
not in interface IloModeler
Throws:
IloException

intSet

public IloIntSet intSet(int min,
                        int max)
                 throws IloException
Creates and returns a set of integers in which the minimum element is min, the maximum element is max, and all integers between min and max are included in the possible set. In other words, this method turns an interval of integers into a set of integers. Such a set of integers is useful, for example, in creating variables for which the values are sets of integers (that is, integer set variables).

Parameters:
min - The minimum possible value in the set.
max - The maximum possible value in the set.
Returns:
The newly created set.
Throws:
IloException

intSet

public IloIntSet intSet(int[] values)
                 throws IloException
Creates and returns a set of integers populated by values, an array of integers. In other words, this method turns an array of integers into a set of integers. Such a set of integers is useful, for example, in creating variables for which the values are sets of integers (that is, integer set variables).

Parameters:
values - The array of integers to put into the set.
Returns:
The newly created set.
Throws:
IloException

intSetVarArray

public IloIntSetVar[] intSetVarArray(int size)
                              throws IloException
Throws:
IloException

prod

public IloNumExpr prod(double v,
                       IloNumVar var1,
                       IloNumVar var2)
                throws IloException
See IloModeler.prod(double, IloNumVar, IloNumVar)

Specified by:
prod in interface IloModeler
Parameters:
v - The value to be used in the product.
var1 - The first variable to be used in the product.
var2 - The second variable to be used in the product.
Returns:
An expression representing the product val * var1 * var2.
Throws:
IloException

prod

public IloNumExpr prod(IloNumVar var1,
                       double v,
                       IloNumVar var2)
                throws IloException
See IloModeler.prod(IloNumVar, double, IloNumVar)

Specified by:
prod in interface IloModeler
Parameters:
var1 - The first variable to be used in the product.
v - The value to be used in the product.
var2 - The second variable to be used in the product.
Returns:
An expression representing the product val * var1 * var2.
Throws:
IloException

prod

public IloNumExpr prod(IloNumVar var1,
                       IloNumVar var2,
                       double v)
                throws IloException
See IloModeler.prod(IloNumVar, IloNumVar, double)

Specified by:
prod in interface IloModeler
Parameters:
var1 - The first variable to be used in the product.
var2 - The second variable to be used in the product.
v - The value to be used in the product.
Returns:
An expression representing the product var1 * var2 * val.
Throws:
IloException

prod

public IloNumExpr prod(IloNumExpr e,
                       double v)
                throws IloException
See IloModeler.prod(IloNumExpr, double)

Specified by:
prod in interface IloModeler
Parameters:
e - An expression to use in the product.
v - A value to add.
Returns:
An expression representing the product e * v.
Throws:
IloException

prod

public IloNumExpr prod(IloNumExpr e1,
                       IloNumExpr e2)
                throws IloException
See IloModeler.prod(IloNumExpr, IloNumExpr)

Specified by:
prod in interface IloModeler
Parameters:
e1 - An expression to use in the product.
e2 - An expression to use in the product.
Returns:
An expression representing the product expr1 * expr2.
Throws:
IloException

prod

public IloNumExpr prod(double v,
                       IloNumExpr e1)
                throws IloException
See IloModeler.prod(double, IloNumExpr)

Specified by:
prod in interface IloModeler
Parameters:
e1 - An expression to use in the product.
v - A value to use in the product.
Returns:
An expression representing the product e1 * v.
Throws:
IloException

square

public IloNumExpr square(IloNumExpr e)
                  throws IloException
See IloModeler.square(IloNumExpr)

Specified by:
square in interface IloModeler
Parameters:
e - An expression to use in the square.
Returns:
An expression representing the product e * e.
Throws:
IloException

constant

public IloNumExpr constant(double x)
                    throws IloException
See IloModeler.constant(double)

Specified by:
constant in interface IloModeler
Parameters:
x - A value for which to construct a constant expression term.
Returns:
An expression representing the constant c.
Throws:
IloException

numExpr

public IloNumExpr numExpr()
                   throws IloException
See IloModeler.numExpr()

Specified by:
numExpr in interface IloModeler
Returns:
An expression.
Throws:
IloException

negative

public IloIntExpr negative(IloIntExpr e)
                    throws IloException
See IloModeler.negative(IloIntExpr)

Specified by:
negative in interface IloModeler
Parameters:
e - An integer expression for which the negative value is given.
Returns:
An integer expression representing the negation of e.
Throws:
IloException

sum

public IloIntExpr sum(IloIntExpr e,
                      int v)
               throws IloException
See IloModeler.sum(IloIntExpr, int)

Specified by:
sum in interface IloModeler
Parameters:
e - The integer expression.
v - The value.
Returns:
An integer expression representing the sum e + v.
Throws:
IloException

sum

public IloIntExpr sum(int v,
                      IloIntExpr e1)
               throws IloException
See IloModeler.sum(int, IloIntExpr)

Specified by:
sum in interface IloModeler
Parameters:
v - The value.
e1 - The integer expression.
Returns:
An integer expression representing the sum e + v.
Throws:
IloException

sum

public IloIntExpr sum(IloIntExpr expr1,
                      IloIntExpr expr2)
               throws IloException
See IloModeler.sum(IloIntExpr, IloIntExpr)

Specified by:
sum in interface IloModeler
Parameters:
expr1 - The first integer expression.
expr2 - The second integer expression.
Returns:
An integer expression representing the sum e1 + e2.
Throws:
IloException

sum

public IloIntExpr sum(IloIntExpr expr1,
                      IloIntExpr expr2,
                      IloIntExpr expr3)
               throws IloException
See IloModeler.sum(IloIntExpr, IloIntExpr, IloIntExpr)

Specified by:
sum in interface IloModeler
Parameters:
expr1 - The first integer expression.
expr2 - The second integer expression.
expr3 - The third integer expression.
Returns:
The expression exp, representing the sum e1 +e2 +e3.
Throws:
IloException

sum

public IloIntExpr sum(IloIntExpr expr1,
                      IloIntExpr expr2,
                      IloIntExpr expr3,
                      IloIntExpr expr4)
               throws IloException
See IloModeler.sum(IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr)

Specified by:
sum in interface IloModeler
Parameters:
expr1 - The first integer expression.
expr2 - The second integer expression.
expr3 - The third integer expression.
expr4 - The fourth integer expression.
Returns:
The expression exp, representing the sum e1 + e2 + e3 +e 4.
Throws:
IloException

sum

public IloIntExpr sum(IloIntExpr expr1,
                      IloIntExpr expr2,
                      IloIntExpr expr3,
                      IloIntExpr expr4,
                      IloIntExpr expr5)
               throws IloException
See IloModeler.sum(IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr)

Specified by:
sum in interface IloModeler
Parameters:
expr1 - The first integer expression.
expr2 - The second integer expression.
expr3 - The third integer expression.
expr4 - The fourth integer expression.
expr5 - The fifth integer expression.
Returns:
The expression exp, representing the sum e1 + e2 + e3 + e4 + e5.
Throws:
IloException

sum

public IloIntExpr sum(IloIntExpr expr1,
                      IloIntExpr expr2,
                      IloIntExpr expr3,
                      IloIntExpr expr4,
                      IloIntExpr expr5,
                      IloIntExpr expr6)
               throws IloException
See IloModeler.sum(IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr)

Specified by:
sum in interface IloModeler
Parameters:
expr1 - The first integer expression.
expr2 - The second integer expression.
expr3 - The third integer expression.
expr4 - The fourth integer expression.
expr5 - The fifth integer expression.
expr6 - The sixth integer expression.
Returns:
The expression exp, representing the sum e1 + e2 + e3 + e4 + e5 + e6.
Throws:
IloException

sum

public IloIntExpr sum(IloIntExpr expr1,
                      IloIntExpr expr2,
                      IloIntExpr expr3,
                      IloIntExpr expr4,
                      IloIntExpr expr5,
                      IloIntExpr expr6,
                      IloIntExpr expr7)
               throws IloException
See IloModeler.sum(IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr)

Specified by:
sum in interface IloModeler
Parameters:
expr1 - The first integer expression.
expr2 - The second integer expression.
expr3 - The third integer expression.
expr4 - The fourth integer expression.
expr5 - The fifth integer expression.
expr6 - The sixth integer expression.
expr7 - The seventh integer expression.
Returns:
The expression exp, representing the sum e1 + e2 + e3 + e4 + e5 + e6 + e7.
Throws:
IloException

sum

public IloIntExpr sum(IloIntExpr expr1,
                      IloIntExpr expr2,
                      IloIntExpr expr3,
                      IloIntExpr expr4,
                      IloIntExpr expr5,
                      IloIntExpr expr6,
                      IloIntExpr expr7,
                      IloIntExpr expr8)
               throws IloException
See IloModeler.sum(IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr, IloIntExpr)

Specified by:
sum in interface IloModeler
Parameters:
expr1 - The first integer expression.
expr2 - The second integer expression.
expr3 - The third integer expression.
expr4 - The fourth integer expression.
expr5 - The fifth integer expression.
expr6 - The sixth integer expression.
expr7 - The seventh integer expression.
expr8 - The eighth integer expression.
Returns:
The expression exp, representing the sum e1 + e2 + e3 + e4 + e5 + e6 + e7 + e8.
Throws:
IloException

diff

public IloIntExpr diff(IloIntExpr e1,
                       IloIntExpr e2)
                throws IloException
See IloModeler.diff(IloIntExpr, IloIntExpr)

Specified by:
diff in interface IloModeler
Parameters:
e1 - An integer expression to use in the difference.
e2 - An integer expression to subtract.
Returns:
An integer expression representing the difference expr1 - expr2.
Throws:
IloException

diff

public IloIntExpr diff(int v,
                       IloIntExpr e1)
                throws IloException
See IloModeler.diff(int, IloIntExpr)

Specified by:
diff in interface IloModeler
Parameters:
v - A value to use in the difference.
e1 - An integer expression to subtract.
Returns:
An integer expression representing the difference v - e1.
Throws:
IloException

prod

public IloIntExpr prod(IloIntExpr e,
                       int v)
                throws IloException
See IloModeler.prod(IloIntExpr, int)

Specified by:
prod in interface IloModeler
Throws:
IloException

prod

public IloIntExpr prod(IloIntExpr e1,
                       IloIntExpr e2)
                throws IloException
See IloModeler.prod(IloIntExpr, IloIntExpr)

Specified by:
prod in interface IloModeler
Throws:
IloException

prod

public IloIntExpr prod(int v,
                       IloIntExpr e1)
                throws IloException
See IloModeler.prod(int, IloIntExpr)

Specified by:
prod in interface IloModeler
Throws:
IloException

square

public IloIntExpr square(IloIntExpr e)
                  throws IloException
See IloModeler.square(IloIntExpr)

Specified by:
square in interface IloModeler
Throws:
IloException

constant

public IloIntExpr constant(int x)
                    throws IloException
See IloModeler.constant(int)

Specified by:
constant in interface IloModeler
Parameters:
x - The value of the constant expression.
Returns:
The constant expression.
Throws:
IloException

intExpr

public IloIntExpr intExpr()
                   throws IloException
See IloModeler.intExpr()

Specified by:
intExpr in interface IloModeler
Returns:
An empty expression as an object.
Throws:
IloException

numVar

public IloNumVar numVar(IloColumn column,
                        double lb,
                        double ub,
                        IloNumVarType type)
                 throws IloException
See IloMPModeler.numVar(IloColumn column, double lb, double ub, IloNumVarType type)

Specified by:
numVar in interface IloMPModeler
Parameters:
column - The column object defining where to install the new variable.
lb - The lower bound of the new modeling variable.
ub - The upper bound of the new modeling variable.
type - The type of the new modeling variable.
Returns:
The new modeling variable.
Throws:
IloException

numVar

public IloNumVar numVar(IloColumn column,
                        double lb,
                        double ub,
                        IloNumVarType type,
                        java.lang.String name)
                 throws IloException
See IloMPModeler.numVar(IloColumn column, double lb, double ub, IloNumVarType type, String name)

Specified by:
numVar in interface IloMPModeler
Parameters:
column - The column object defining where to install the new variable.
lb - The lower bound of the new modeling variable.
ub - The upper bound of the new modeling variable.
type - The type of the new modeling variable.
name - The name of the new modeling variable.
Returns:
The new modeling variable.
Throws:
IloException

numVarArray

public IloNumVar[] numVarArray(IloColumnArray cols,
                               double lb,
                               double ub,
                               IloNumVarType type)
                        throws IloException
See IloMPModeler.numVarArray(IloColumnArray cols, double lb, double ub, IloNumVarType type)

Specified by:
numVarArray in interface IloMPModeler
Parameters:
cols - An IloColumnArray object defining where to install the new variables.
lb - The lower bound of the new modeling variables.
ub - The upper bound of the new modeling variables.
type - The type of the new modeling variables.
Returns:
The array of new modeling variables.
Throws:
IloException

numVarArray

public IloNumVar[] numVarArray(IloColumnArray cols,
                               double lb,
                               double ub,
                               IloNumVarType type,
                               java.lang.String[] name)
                        throws IloException
See IloMPModeler.numVarArray(IloColumnArray cols, double lb, double ub, IloNumVarType type, String[] name)

Specified by:
numVarArray in interface IloMPModeler
Parameters:
cols - An IloColumnArray object defining where to install the new variables.
lb - The lower bound of the new modeling variables.
ub - The upper bound of the new modeling variables.
type - The type of the new modeling variables.
name - The names of the new modeling variables. Variable i is assigned name[i].
Returns:
The array of new modeling variables.
Throws:
IloException

numVarArray

public IloNumVar[] numVarArray(IloColumnArray cols,
                               double[] lb,
                               double[] ub,
                               IloNumVarType[] type)
                        throws IloException
See IloMPModeler.numVarArray(IloColumnArray cols, double[] lb, double[] ub, IloNumVarType[] type)

Specified by:
numVarArray in interface IloMPModeler
Parameters:
cols - An IloColumnArray object defining where to install the new variables.
lb - The lower bounds of the new modeling variables. Variable i is constructed with a lower bound of lb[i].
ub - The upper bounds of the new modeling variables. Variable i is constructed with a upper bound of ub[i].
type - The types of the new modeling variables. Variable i is constructed with a type of type[i].
Returns:
The array of new modeling variables.
Throws:
IloException

numVarArray

public IloNumVar[] numVarArray(IloColumnArray cols,
                               double[] lb,
                               double[] ub,
                               IloNumVarType[] type,
                               java.lang.String[] name)
                        throws IloException
See IloMPModeler.numVarArray(IloColumnArray cols, double[] lb, double[] ub, IloNumVarType[] type, String[] name)

Specified by:
numVarArray in interface IloMPModeler
Parameters:
cols - An IloColumnArray object defining where to install the new variables.
lb - The lower bounds of the new modeling variables. Variable i is constructed with a lower bound of lb[i].
ub - The upper bounds of the new modeling variables. Variable i is constructed with a upper bound of lb[i].
type - The types of the new modeling variables. Variable i is constructed with a type of type[i].
name - The names of the new modeling variables. Variable i is assigned name[i].
Returns:
The array of new modeling variables.
Throws:
IloException

numVar

public IloNumVar numVar(IloColumn column,
                        double lb,
                        double ub,
                        java.lang.String name)
                 throws IloException
See IloMPModeler.numVar(IloColumn column, double lb, double ub, String name)

Specified by:
numVar in interface IloMPModeler
Parameters:
column - The column object defining where to install the new variable.
lb - The lower bound of the new modeling variable.
ub - The upper bound of the new modeling variable.
name - The name of the new modeling variable.
Returns:
The new continuous modeling variable.
Throws:
IloException

numVar

public IloNumVar numVar(IloColumn column,
                        double lb,
                        double ub)
                 throws IloException
See IloMPModeler.numVar(IloColumn column, double lb, double ub)

Specified by:
numVar in interface IloMPModeler
Parameters:
column - The column object defining where to install the new variable.
lb - The lower bound of the new modeling variable.
ub - The upper bound of the new modeling variable.
Returns:
The new continuous modeling variable.
Throws:
IloException

numVarArray

public IloNumVar[] numVarArray(IloColumnArray cols,
                               double lb,
                               double ub)
                        throws IloException
See IloMPModeler.numVarArray(IloColumnArray cols, double lb, double ub)

Specified by:
numVarArray in interface IloMPModeler
Parameters:
cols - An IloColumnArray object defining where to install the new variables.
lb - The lower bound of the new modeling variables.
ub - The upper bound of the new modeling variables.
Returns:
The array of new continuous modeling variables.
Throws:
IloException

numVarArray

public IloNumVar[] numVarArray(IloColumnArray cols,
                               double[] lb,
                               double[] ub)
                        throws IloException
See IloMPModeler.numVarArray(IloColumnArray cols, double[] lb, double[] ub)

Specified by:
numVarArray in interface IloMPModeler
Parameters:
cols - IloColumnArray object defining where to install the new variables.
lb - The lower bounds of the new modeling variables. Variable i is constructed with a lower bound of lb[i].
ub - The upper bounds of the new modeling variables. Variable i is constructed with an upper bound of ub[i].
Returns:
The array of new continuous modeling variables
Throws:
IloException

numVarArray

public IloNumVar[] numVarArray(IloColumnArray cols,
                               double lb,
                               double ub,
                               java.lang.String[] name)
                        throws IloException
See IloMPModeler.numVarArray(IloColumnArray cols, double lb, double ub, String[] name)

Specified by:
numVarArray in interface IloMPModeler
Parameters:
cols - An IloColumnArray object defining where to install the new variables.
lb - The lower bounds of the new modeling variables. Variable i is assigned lower bound lb[i].
ub - The upper bounds of the new modeling variables. Variable i is assigned upper bound ub[i].
name - The names of the new modeling variables. Variable i is assigned name[i].
Returns:
The array of new continuous modeling variables.
Throws:
IloException

numVarArray

public IloNumVar[] numVarArray(IloColumnArray cols,
                               double[] lb,
                               double[] ub,
                               java.lang.String[] name)
                        throws IloException
See IloMPModeler.numVarArray(IloColumnArray cols, double[] lb, double[] ub, String[] name)

Specified by:
numVarArray in interface IloMPModeler
Parameters:
cols - An IloColumnArray object defining where to install the new variables.
lb - The lower bounds of the new modeling variables. Variable i is constructed with a lower bound of lb[i].
ub - The upper bounds of the new modeling variables. Variable i is constructed with an upper bound of ub[i].
name - The names of the new modeling variables. Variable i is assigned name[i].
Returns:
The array of new continuous modeling variables.
Throws:
IloException

intVar

public IloIntVar intVar(IloColumn column,
                        int lb,
                        int ub)
                 throws IloException
See IloMPModeler.intVar(IloColumn column, int lb, int ub)

Specified by:
intVar in interface IloMPModeler
Parameters:
column - The column object defining where to install the new variable.
lb - The lower bound of the new modeling variable.
ub - The upper bound of the new modeling variable.
Returns:
The new integer modeling variable.
Throws:
IloException

intVar

public IloIntVar intVar(IloColumn column,
                        int lb,
                        int ub,
                        java.lang.String name)
                 throws IloException
See IloMPModeler.intVar(IloColumn column, int lb, int ub, String name)

Specified by:
intVar in interface IloMPModeler
Parameters:
column - The column object defining where to install the new variable.
lb - The lower bound of the new modeling variable.
ub - The upper bound of the new modeling variable.
name - The name of the new modeling variable.
Returns:
The new integer modeling variable.
Throws:
IloException

intVarArray

public IloIntVar[] intVarArray(IloColumnArray cols,
                               int lb,
                               int ub,
                               java.lang.String[] name)
                        throws IloException
See IloMPModeler.intVarArray(IloColumnArray cols, int lb, int ub, String[] name)

Specified by:
intVarArray in interface IloMPModeler
Parameters:
cols - An IloColumnArray object defining where to install the new variables.
lb - The lower bound of the new modeling variables.
ub - The upper bound of the new modeling variables.
name - The names of the new modeling variables. Variable i is assigned name[i].
Returns:
The array of new integer modeling variables.
Throws:
IloException

intVarArray

public IloIntVar[] intVarArray(IloColumnArray cols,
                               int[] lb,
                               int[] ub,
                               java.lang.String[] name)
                        throws IloException
See IloMPModeler.intVarArray(IloColumnArray cols, int[] lb, int[] ub, String[] name)

Specified by:
intVarArray in interface IloMPModeler
Parameters:
cols - An IloColumnArray object defining where to install the new variables.
lb - The lower bounds of the new modeling variables. Variable i is constructed with a lower bound of lb[i].
ub - The upper bounds of the new modeling variable. Variable i is constructed with an upper bound of ub[i].
name - The names of the new modeling variables. Variable i is assigned name[i].
Returns:
The array of new integer modeling variables.
Throws:
IloException

intVarArray

public IloIntVar[] intVarArray(IloColumnArray cols,
                               int lb,
                               int ub)
                        throws IloException
See IloMPModeler.intVarArray(IloColumnArray cols, int lb, int ub)

Specified by:
intVarArray in interface IloMPModeler
Parameters:
cols - An IloColumnArray object defining where to install the new variables.
lb - The lower bound of the new modeling variables.
ub - The upper bound of the new modeling variables.
Returns:
The array of new integer modeling variables.
Throws:
IloException

intVarArray

public IloIntVar[] intVarArray(IloColumnArray cols,
                               int[] lb,
                               int[] ub)
                        throws IloException
See IloMPModeler.intVarArray(IloColumnArray cols, int[] lb, int[] ub)

Specified by:
intVarArray in interface IloMPModeler
Parameters:
cols - An IloColumnArray object defining where to install the new variables.
lb - The lower bounds of the new modeling variables. Variable i is constructed with a lower bound of lb[i].
ub - The upper bounds of the new modeling variables. Variable i is constructed with a upper bound of ub[i].
Returns:
The array of new integer modeling variables.
Throws:
IloException

boolVar

public IloIntVar boolVar(IloColumn column,
                         java.lang.String name)
                  throws IloException
See IloMPModeler.boolVar(IloColumn column, String name)

Specified by:
boolVar in interface IloMPModeler
Parameters:
column - The column object defining where to install the new variable.
name - The name of the new modeling variable.
Returns:
The new Boolean modeling variable.
Throws:
IloException

boolVar

public IloIntVar boolVar(IloColumn column)
                  throws IloException
See IloMPModeler.boolVar(IloColumn column)

Specified by:
boolVar in interface IloMPModeler
Parameters:
column - The column object defining where to install the new variable.
Returns:
The new Boolean modeling variable.
Throws:
IloException

boolVarArray

public IloIntVar[] boolVarArray(IloColumnArray cols)
                         throws IloException
See IloMPModeler.boolVarArray(IloColumnArray cols)

Specified by:
boolVarArray in interface IloMPModeler
Parameters:
cols - The IloColumnArray object defining where to install the new variables.
Returns:
The array of new Boolean modeling variables
Throws:
IloException

boolVarArray

public IloIntVar[] boolVarArray(IloColumnArray cols,
                                java.lang.String[] name)
                         throws IloException
See IloMPModeler.boolVarArray(IloColumnArray cols, String[] name)

Specified by:
boolVarArray in interface IloMPModeler
Parameters:
cols - The IloColumnArray object defining where to install the new variables.
name - The names of the new modeling variables. Variable i is assigned name[i].
Returns:
The array of new Boolean modeling variables.
Throws:
IloException

piecewiseLinear

public IloNumExpr piecewiseLinear(IloNumExpr expr,
                                  double[] points,
                                  double[] slopes,
                                  double a,
                                  double fa)
                           throws IloException
See IloMPModeler.piecewiseLinear(IloNumExpr, double[], double[], double, double)

Specified by:
piecewiseLinear in interface IloMPModeler
Parameters:
expr - An expression indicating where to evaluate the piecewise linear function.
points - An array of breakpoints for the piecewise linear function.
slopes - An array of slopes for the piecewise linear function.
a - First coordinate of the anchor point of the piecewise linear function.
fa - Second coordinate of the anchor point of the piecewise linear function.
Returns:
A piecewise linear function of expr.
Throws:
IloException

piecewiseLinear

public IloNumExpr piecewiseLinear(IloNumExpr expr,
                                  double[] points,
                                  int startPoints,
                                  int num,
                                  double[] slopes,
                                  int startSlopes,
                                  double a,
                                  double fa)
                           throws IloException
See IloMPModeler.piecewiseLinear(IloNumExpr, double[], int, int, double[], int, double, double)

Specified by:
piecewiseLinear in interface IloMPModeler
Parameters:
expr - An expression indicating where to evaluate the piecewise linear function.
points - An array containing breakpoints that define the piecewise linear function.
startPoints - An integer indicating the first element in array points to use for the definition of the breakpoints of the piecewise linear function.
num - The number of breakpoints to use from the array points. Thus num+1 elements of array slopes are used.
slopes - An array containing the slopes that define the piecewise linear function.
startSlopes - The first element in array slopes to use for the definition of the slopes of the piecewise linear function.
a - The first coordinate of the anchor point of the piecewise linear function.
fa - The second coordinate of the anchor point of the piecewise linear function.
Returns:
A piecewise linear function of expr.
Throws:
IloException

abs

public IloNumExpr abs(IloNumExpr expr)
               throws IloException
Returns an expression representing the absolute value of its argument, the expression indicated by expr.

Specified by:
abs in interface IloMPModeler
Throws:
IloException

abs

public IloIntExpr abs(IloIntExpr expr)
               throws IloException
Returns an expression representing the absolute value of its argument, the expression indicated by expr.

Specified by:
abs in interface IloModeler
Throws:
IloException

max

public IloNumExpr max(IloNumExpr expr1,
                      IloNumExpr expr2)
               throws IloException
Returns an expression representing the maximum of its two arguments.

Specified by:
max in interface IloModeler
Throws:
IloException

max

public IloNumExpr max(IloNumExpr expr1,
                      double expr2)
               throws IloException
Returns an expression representing the maximum of its two arguments.

Specified by:
max in interface IloModeler
Throws:
IloException

max

public IloNumExpr max(double expr2,
                      IloNumExpr expr1)
               throws IloException
Returns an expression representing the maximum of its two arguments.

Specified by:
max in interface IloModeler
Throws:
IloException

max

public IloNumExpr max(IloNumExpr[] exprs)
               throws IloException
Returns an expression representing the maximum of its argument, the elements of an array.

Specified by:
max in interface IloModeler
Parameters:
exprs - The array of expressions.
Throws:
IloException

max

public IloIntExpr max(IloIntExpr expr1,
                      IloIntExpr expr2)
               throws IloException
Returns an expression representing the maximum of its two arguments.

Specified by:
max in interface IloModeler
Throws:
IloException

max

public IloIntExpr max(IloIntExpr expr1,
                      int expr2)
               throws IloException
Returns an expression representing the maximum of its two arguments.

Specified by:
max in interface IloModeler
Throws:
IloException

max

public IloIntExpr max(int expr1,
                      IloIntExpr expr2)
               throws IloException
Returns an expression representing the maximum of its two arguments.

Specified by:
max in interface IloModeler
Throws:
IloException

max

public IloIntExpr max(IloIntExpr[] exprs)
               throws IloException
Returns an expression representing the maximum of its argument, the elements of an array.

Specified by:
max in interface IloModeler
Parameters:
exprs - the array of expressions
Throws:
IloException

min

public IloNumExpr min(IloNumExpr expr1,
                      IloNumExpr expr2)
               throws IloException
Returns an expression representing the minimum of its two arguments.

Specified by:
min in interface IloModeler
Throws:
IloException

min

public IloNumExpr min(IloNumExpr expr1,
                      double expr2)
               throws IloException
Returns an expression representing the minimum of its two arguments.

Specified by:
min in interface IloModeler
Throws:
IloException

min

public IloNumExpr min(double expr2,
                      IloNumExpr expr1)
               throws IloException
Returns an expression representing the minimum of its two arguments.

Specified by:
min in interface IloModeler
Throws:
IloException

min

public IloNumExpr min(IloNumExpr[] exprs)
               throws IloException
Returns an expression representing the minimum of its argument, the elements of an array.

Specified by:
min in interface IloModeler
Throws:
IloException

min

public IloIntExpr min(IloIntExpr expr1,
                      IloIntExpr expr2)
               throws IloException
Returns an expression representing the minimum of its two arguments.

Specified by:
min in interface IloModeler
Throws:
IloException

min

public IloIntExpr min(IloIntExpr expr1,
                      int expr2)
               throws IloException
Returns an expression representing the minimum of its two arguments.

Specified by:
min in interface IloModeler
Throws:
IloException

min

public IloIntExpr min(int expr1,
                      IloIntExpr expr2)
               throws IloException
Returns an expression representing the minimum of its two arguments.

Specified by:
min in interface IloModeler
Throws:
IloException

min

public IloIntExpr min(IloIntExpr[] exprs)
               throws IloException
Returns an expression representing the minimum of its argument, the elements of an array.

Specified by:
min in interface IloModeler
Throws:
IloException

addToExpr

public void addToExpr(IloObjective obj,
                      IloNumExpr expr)
               throws IloException
See IloMPModeler.addToExpr(IloObjective, IloNumExpr)

Specified by:
addToExpr in interface IloMPModeler
Parameters:
obj - The objective to modify.
expr - The new expression to add.
Throws:
IloException

setLinearCoef

public void setLinearCoef(IloObjective obj,
                          double val,
                          IloNumVar var)
                   throws IloException
See IloMPModeler.setLinearCoef(IloObjective, double, IloNumVar)

Specified by:
setLinearCoef in interface IloMPModeler
Parameters:
obj - The objective to modify.
val - The coefficient to set.
var - The variable for which to set the coefficient.
Throws:
IloException

setLinearCoef

public void setLinearCoef(IloObjective obj,
                          IloNumVar var,
                          double val)
                   throws IloException
See IloMPModeler.setLinearCoef(IloObjective, IloNumVar, double)

Specified by:
setLinearCoef in interface IloMPModeler
Parameters:
obj - The objective to modify.
var - The variable for which to set the coefficient.
val - The coefficient to set.
Throws:
IloException

setLinearCoefs

public void setLinearCoefs(IloObjective obj,
                           double[] val,
                           IloNumVar[] var)
                    throws IloException
See IloMPModeler.setLinearCoefs(IloObjective, double[], IloNumVar[])

Specified by:
setLinearCoefs in interface IloMPModeler
Parameters:
obj - The objective to modify.
val - The array of linear coefficient values. The linear coefficient of variable var[i] is set to val[i].
var - The array of variables for which to set linear coefficients. A variable may only appear once in this array.
Throws:
IloException

setLinearCoefs

public void setLinearCoefs(IloObjective obj,
                           IloNumVar[] var,
                           double[] val)
                    throws IloException
See IloMPModeler.setLinearCoefs(IloObjective, IloNumVar[], double[])

Specified by:
setLinearCoefs in interface IloMPModeler
Parameters:
obj - The objective to modify.
val - The array of linear coefficient values. The linear coefficient of variable var[i] is set to val[i].
var - The array of variables for which to set linear coefficients. A variable may only appear once in this array.
Throws:
IloException

setLinearCoefs

public void setLinearCoefs(IloObjective obj,
                           double[] val,
                           IloNumVar[] var,
                           int start,
                           int num)
                    throws IloException
See IloMPModeler.setLinearCoefs(IloObjective, double[], IloNumVar[], int, int)

Specified by:
setLinearCoefs in interface IloMPModeler
Parameters:
obj - The objective to modify.
val - The array containing linear coefficient values. The linear coefficient of variable var[i] is set to val[i].
var - The array containing the variables for which to set linear coefficients. A variable may only appear once in this array.
start - The first element in val and var to use for setting coefficients.
num - The number of consecutive elements in val and var to use for setting coefficients.
Throws:
IloException

setLinearCoefs

public void setLinearCoefs(IloObjective obj,
                           IloNumVar[] var,
                           double[] val,
                           int start,
                           int num)
                    throws IloException
See IloMPModeler.setLinearCoefs(IloObjective, IloNumVar[], double[], int, int)

Specified by:
setLinearCoefs in interface IloMPModeler
Parameters:
obj - The objective to modify.
var - An array containing the variables for which to set linear coefficients. A variable may only appear once in this array.
val - An array containing linear coefficient values. The linear coefficient of variable var[i] is set to val[i].
start - The first element in val and var to use for setting coefficients.
num - The number of consecutive elements in val and var to use for setting coefficients.
Throws:
IloException

semiContVar

public IloSemiContVar semiContVar(double lb,
                                  double ub,
                                  IloNumVarType type,
                                  java.lang.String name)
                           throws IloException
See IloMPModeler.semiContVar(double, double, IloNumVarType, String)

Specified by:
semiContVar in interface IloMPModeler
Parameters:
lb - The semi-continuous lower bound of the new modeling variable
ub - The upper bound of the new modeling variable.
type - The type of the new modeling variable.
name - The name of the new modeling variable.
Returns:
The new modeling variable.
Throws:
IloException

semiContVar

public IloSemiContVar semiContVar(double lb,
                                  double ub,
                                  IloNumVarType type)
                           throws IloException
See IloMPModeler.semiContVar(double, double, IloNumVarType)

Specified by:
semiContVar in interface IloMPModeler
Parameters:
lb - The semi-continuous lower bound of the new modeling variable
ub - The upper bound of the new modeling variable.
type - The type of the new modeling variable.
Returns:
The new modeling variable.
Throws:
IloException

semiContVar

public IloSemiContVar semiContVar(IloColumn column,
                                  double lb,
                                  double ub,
                                  IloNumVarType type,
                                  java.lang.String name)
                           throws IloException
See IloMPModeler.semiContVar(IloColumn, double, double, IloNumVarType, String)

Specified by:
semiContVar in interface IloMPModeler
Parameters:
column - The column object defining where to install the new variable.
lb - The semi-continuous lower bound of the new modeling variable.
ub - The upper bound of the new modeling variable.
type - The type of the new modeling variable.
name - The name of the new modeling variable.
Returns:
The new modeling variable.
Throws:
IloException

semiContVar

public IloSemiContVar semiContVar(IloColumn column,
                                  double lb,
                                  double ub,
                                  IloNumVarType type)
                           throws IloException
See IloMPModeler.semiContVar(IloColumn, double, double, IloNumVarType)

Specified by:
semiContVar in interface IloMPModeler
Parameters:
column - The column object defining where to install the new variable.
lb - The semi-continuous lower bound of the new modeling variable.
ub - The upper bound of the new modeling variable.
type - The type of the new modeling variable.
Returns:
The new modeling variable.
Throws:
IloException

semiContVarArray

public IloSemiContVar[] semiContVarArray(int n,
                                         double lb,
                                         double ub,
                                         IloNumVarType type)
                                  throws IloException
See IloMPModeler.semiContVarArray(int, double, double, IloNumVarType)

Specified by:
semiContVarArray in interface IloMPModeler
Parameters:
n - The number of new semi-continuous variables to create.
lb - The semi-continuous lower bound of the new modeling variables.
ub - The upper bound of the new modeling variables.
type - The type of the new modeling variables.
Returns:
The array of new modeling variables.
Throws:
IloException

semiContVarArray

public IloSemiContVar[] semiContVarArray(int n,
                                         double[] lb,
                                         double[] ub,
                                         IloNumVarType[] type)
                                  throws IloException
See IloMPModeler.semiContVarArray(int, double[], double[], IloNumVarType[])

Specified by:
semiContVarArray in interface IloMPModeler
Parameters:
n - The number of new semi-continuous variables to create.
lb - The semi-continuous lower bounds of the new modeling variables. Variable i is constructed with a semi-continuous lower bound of sclb[i].
ub - The upper bounds of the new modeling variables. Variable i is constructed with an upper bound of ub[i].
type - The types of the new modeling variables. Variable i is constructed with a type of type[i].
Returns:
The array of new modeling variables.
Throws:
IloException

semiContVarArray

public IloSemiContVar[] semiContVarArray(int n,
                                         double lb,
                                         double ub,
                                         IloNumVarType type,
                                         java.lang.String[] name)
                                  throws IloException
See IloMPModeler.semiContVarArray(int, double, double, IloNumVarType, String[])

Specified by:
semiContVarArray in interface IloMPModeler
Parameters:
n - The number of new semi-continuous variables to create.
lb - The semi-continuous lower bound of the new modeling variables.
ub - The upper bound of the new modeling variables.
type - The type of the new modeling variables.
name - The names of the new modeling variables. Variable i is assigned name[i].
Returns:
The array of new modeling variables.
Throws:
IloException

semiContVarArray

public IloSemiContVar[] semiContVarArray(int n,
                                         double[] lb,
                                         double[] ub,
                                         IloNumVarType[] type,
                                         java.lang.String[] name)
                                  throws IloException
See IloMPModeler.semiContVarArray(int, double[], double[], IloNumVarType[], String[])

Specified by:
semiContVarArray in interface IloMPModeler
Parameters:
n - The number of new semi-continuous variables to create.
lb - The semi-continuous lower bounds of the new modeling variables. Variable i is constructed with a semi-continuous lower bound of sclb[i].
ub - The upper bounds of the new modeling variables. Variable i is constructed with an upper bound of ub[i].
type - The types of the new modeling variables. Variable i is constructed with a type of type[i].
name - The names of the new modeling variables. Variable i is assigned name[i].
Returns:
The array of new modeling variables.
Throws:
IloException

semiContVarArray

public IloSemiContVar[] semiContVarArray(IloColumnArray cols,
                                         double lb,
                                         double ub,
                                         IloNumVarType type)
                                  throws IloException
See IloMPModeler.semiContVarArray(IloColumnArray, double, double, IloNumVarType)

Specified by:
semiContVarArray in interface IloMPModeler
Parameters:
cols - An IloColumnArray object defining where to install the new variables.
lb - The semi-continuous lower bound of the new modeling variables.
ub - The upper bound of the new modeling variables.
type - The type of the new modeling variables.
Returns:
The array of new modeling variables.
Throws:
IloException

semiContVarArray

public IloSemiContVar[] semiContVarArray(IloColumnArray cols,
                                         double[] lb,
                                         double[] ub,
                                         IloNumVarType[] type)
                                  throws IloException
See IloMPModeler.semiContVarArray(IloColumnArray, double[], double[], IloNumVarType[])

Specified by:
semiContVarArray in interface IloMPModeler
Parameters:
cols - An IloColumnArray object defining where to install the new variables.
lb - The semi-continuous lower bounds of the new modeling variables. Variable i is constructed with a semi-continuous lower bound of sclb[i].
ub - The upper bounds of the new modeling variables. Variable i is constructed with an upper bound of ub[i].
type - The types of the new modeling variables. Variable i is constructed with a type of type[i].
Returns:
The array of new modeling variables.
Throws:
IloException

semiContVarArray

public IloSemiContVar[] semiContVarArray(IloColumnArray cols,
                                         double lb,
                                         double ub,
                                         IloNumVarType type,
                                         java.lang.String[] name)
                                  throws IloException
See IloMPModeler.semiContVarArray(IloColumnArray, double, double, IloNumVarType, String[])

Specified by:
semiContVarArray in interface IloMPModeler
Parameters:
cols - An IloColumnArray object defining where to install the new variables.
lb - The semi-continuous lower bound of the new modeling variables.
ub - The upper bound of the new modeling variables.
type - The type of the new modeling variables.
name - The names of the new modeling variables. Variable i is assigned name[i].
Returns:
The array of new modeling variables.
Throws:
IloException

semiContVarArray

public IloSemiContVar[] semiContVarArray(IloColumnArray cols,
                                         double[] lb,
                                         double[] ub,
                                         IloNumVarType[] type,
                                         java.lang.String[] name)
                                  throws IloException
See IloMPModeler.semiContVarArray(IloColumnArray cols, double[] lb, double[] ub, IloNumVarType[] type, String[] name)

Specified by:
semiContVarArray in interface IloMPModeler
Parameters:
cols - An IloColumnArray object defining where to install the new variables.
lb - The semi-continuous lower bounds of the new modeling variables. Variable i is constructed with a semi-continuous lower bound of sclb[i].
ub - The upper bounds of the new modeling variables. Variable i is constructed with an upper bound of ub[i].
type - The types of the new modeling variables. Variable i is constructed with a type of type[i].
name - The names of the new modeling variables. Variable i is assigned name[i].
Returns:
The array of new modeling variables.
Throws:
IloException

minimize

public IloObjective minimize()
                      throws IloException
See IloMPModeler.minimize()

Specified by:
minimize in interface IloMPModeler
Returns:
The new zero minimization objective.
Throws:
IloException

maximize

public IloObjective maximize()
                      throws IloException
See IloMPModeler.maximize()

Specified by:
maximize in interface IloMPModeler
Returns:
The new zero maximization objective.
Throws:
IloException

minimize

public IloObjective minimize(java.lang.String name)
                      throws IloException
See IloMPModeler.minimize(String)

Specified by:
minimize in interface IloMPModeler
Parameters:
name - The name assigned to the new objective.
Returns:
The new zero minimization objective.
Throws:
IloException

maximize

public IloObjective maximize(java.lang.String name)
                      throws IloException
See IloMPModeler.maximize(String)

Specified by:
maximize in interface IloMPModeler
Parameters:
name - The name assigned to the new objective.
Returns:
The new zero maximization objective.
Throws:
IloException

objective

public IloObjective objective(IloObjectiveSense sense)
                       throws IloException
See IloMPModeler.objective(IloObjectiveSense)

Specified by:
objective in interface IloMPModeler
Parameters:
sense - The optimization sense of the new objective.
Returns:
The new zero objective.
Throws:
IloException

objective

public IloObjective objective(IloObjectiveSense sense,
                              java.lang.String name)
                       throws IloException
See IloMPModeler.objective(IloObjectiveSense, String)

Specified by:
objective in interface IloMPModeler
Parameters:
sense - The optimization sense of the new objective.
name - The name assigned to the new objective.
Returns:
The new zero objective.
Throws:
IloException

addMinimize

public IloObjective addMinimize(IloNumExpr expr,
                                java.lang.String name)
                         throws IloException
See IloModeler.addMinimize(IloNumExpr, String)

Specified by:
addMinimize in interface IloModeler
Parameters:
expr - Expression to minimize.
name - Name assigned to the new IloObjective object.
Returns:
An IloObjective object representing the objective to minimize expr.
Throws:
IloException

addMaximize

public IloObjective addMaximize(IloNumExpr expr,
                                java.lang.String name)
                         throws IloException
See IloModeler.addMaximize(IloNumExpr, String)

Specified by:
addMaximize in interface IloModeler
Parameters:
expr - Expression to maximize.
name - Name assigned to the new IloObjective object.
Returns:
An IloObjective object representing the objective to maximize expr.
Throws:
IloException

addMinimize

public IloObjective addMinimize()
                         throws IloException
See IloMPModeler.addMinimize()

Specified by:
addMinimize in interface IloMPModeler
Returns:
The new zero minimization objective.
Throws:
IloException

addMaximize

public IloObjective addMaximize()
                         throws IloException
See IloMPModeler.addMaximize()

Specified by:
addMaximize in interface IloMPModeler
Returns:
The new zero maximization objective.
Throws:
IloException

addObjective

public IloObjective addObjective(IloObjectiveSense sense)
                          throws IloException
See IloMPModeler.addObjective(IloObjectiveSense)

Specified by:
addObjective in interface IloMPModeler
Parameters:
sense - The optimization sense of the new objective.
Returns:
The new zero objective.
Throws:
IloException

addMinimize

public IloObjective addMinimize(java.lang.String name)
                         throws IloException
See IloMPModeler.addMinimize(String)

Specified by:
addMinimize in interface IloMPModeler
Parameters:
name - The name assigned to the new objective.
Returns:
The new zero minimization objective.
Throws:
IloException

addMaximize

public IloObjective addMaximize(java.lang.String name)
                         throws IloException
See IloMPModeler.addMaximize(String)

Specified by:
addMaximize in interface IloMPModeler
Parameters:
name - The name assigned to the new objective.
Returns:
The new zero maximization objective.
Throws:
IloException

addObjective

public IloObjective addObjective(IloObjectiveSense sense,
                                 java.lang.String name)
                          throws IloException
See IloMPModeler.addObjective(IloObjectiveSense, String)

Specified by:
addObjective in interface IloMPModeler
Parameters:
sense - The optimization sense of the new objective.
name - The name assigned to the new objective.
Returns:
The new zero objective.
Throws:
IloException

conversion

public IloConversion conversion(IloNumVar var,
                                IloNumVarType type,
                                java.lang.String name)
                         throws IloException
See IloMPModeler.conversion(IloNumVar var, IloNumVarType type, String name)

Specified by:
conversion in interface IloMPModeler
Parameters:
var - The variable the type of which is to be converted.
type - The converted type for variable var.
name - The name of the new IloConversion object.
Returns:
The new IloConversion object.
Throws:
IloException

conversion

public IloConversion conversion(IloNumVar var,
                                IloNumVarType type)
                         throws IloException
See IloMPModeler.conversion(IloNumVar var, IloNumVarType type)

Specified by:
conversion in interface IloMPModeler
Parameters:
var - The variable the type of which is to be converted.
type - The converted type for variable var.
Returns:
The new IloConversion object.
Throws:
IloException

conversion

public IloConversion conversion(IloNumVar[] ilovar,
                                IloNumVarType type,
                                java.lang.String name)
                         throws IloException
See IloMPModeler.conversion(IloNumVar[] ilovar, IloNumVarType type, String name)

Specified by:
conversion in interface IloMPModeler
Parameters:
ilovar - The array of variables the types of which are to be converted.
type - The converted type for all variables in var.
name - The name of the new IloConversion object.
Returns:
The new IloConversion object.
Throws:
IloException

conversion

public IloConversion conversion(IloNumVar[] ilovar,
                                IloNumVarType type)
                         throws IloException
See IloMPModeler.conversion(IloNumVar[] ilovar, IloNumVarType type)

Specified by:
conversion in interface IloMPModeler
Parameters:
ilovar - The array of variables the types of which are to be converted.
type - The converted type for all variables in var.
Returns:
The new IloConversion object.
Throws:
IloException

conversion

public IloConversion conversion(IloNumVar[] ilovar,
                                IloNumVarType[] type,
                                java.lang.String name)
                         throws IloException
See IloMPModeler.conversion(IloNumVar[] ilovar, IloNumVarType[] type, String name)

Specified by:
conversion in interface IloMPModeler
Parameters:
ilovar - The array of variables the types of which are to be converted.
type - An array of variable types containing the types to which the variables are converted. The type of variable var[i] is converted to type[i].
name - The name of the new IloConversion object.
Returns:
The new IloConversion object.
Throws:
IloException

conversion

public IloConversion conversion(IloNumVar[] ilovar,
                                IloNumVarType[] type)
                         throws IloException
See IloMPModeler.conversion(IloNumVar[] ilovar, IloNumVarType[] type)

Specified by:
conversion in interface IloMPModeler
Parameters:
ilovar - The array of variables the types of which are to be converted.
type - An array of variable types containing the types to which the variables are converted. The type of variable var[i] is converted to type[i].
Returns:
The new IloConversion object.
Throws:
IloException

addLPMatrix

public IloLPMatrix addLPMatrix(java.lang.String name)
                        throws IloException
See IloMPModeler.addLPMatrix(String name)

Specified by:
addLPMatrix in interface IloMPModeler
Parameters:
name - The name for the new IloLPMatrix object.
Returns:
The new IloLPMatrix object.
Throws:
IloException

addLPMatrix

public IloLPMatrix addLPMatrix()
                        throws IloException
See IloMPModeler.addLPMatrix()

Specified by:
addLPMatrix in interface IloMPModeler
Returns:
The new IloLPMatrix object.
Throws:
IloException

LPMatrix

public IloLPMatrix LPMatrix(java.lang.String name)
                     throws IloException
See IloMPModeler.LPMatrix(String name)

Specified by:
LPMatrix in interface IloMPModeler
Parameters:
name - The name for the new IloLPMatrix object.
Returns:
The new IloLPMatrix object.
Throws:
IloException

LPMatrix

public IloLPMatrix LPMatrix()
                     throws IloException
See IloMPModeler.LPMatrix()

Specified by:
LPMatrix in interface IloMPModeler
Returns:
The new IloLPMatrix object.
Throws:
IloException

addRange

public IloRange addRange(double lb,
                         IloNumExpr expr,
                         double ub,
                         java.lang.String name)
                  throws IloException
See IloModeler.addRange(double lb, IloNumExpr expr, double ub, String name)

Specified by:
addRange in interface IloModeler
Parameters:
lb - Lower bound of the new IloRange constraint.
expr - Expression of the new IloRange constraint.
ub - Upper bound of the new IloRange constraint.
name - Name assigned to the new IloRange constraint.
Returns:
A new IloRange object initialized to represent the constraint lb <= expr <= ub.
Throws:
IloException

addRange

public IloRange addRange(double lb,
                         IloNumExpr expr,
                         double ub)
                  throws IloException
See IloModeler.addRange(double lb, IloNumExpr expr, double ub)

Specified by:
addRange in interface IloModeler
Parameters:
lb - Lower bound of the new IloRange constraint.
expr - Expression of the new IloRange constraint.
ub - Upper bound of the new IloRange constraint.
Returns:
A new IloRange object initialized to represent the constraint lb <= expr <= ub.
Throws:
IloException

addRange

public IloRange addRange(double lb,
                         double ub,
                         java.lang.String name)
                  throws IloException
See IloMPModeler.addRange(double lb, double ub, String name)

Specified by:
addRange in interface IloMPModeler
Parameters:
lb - The lower bound of the new IloRange constraint.
ub - The upper bound of the new IloRange constraint.
name - The name assigned to the new IloRange constraint.
Returns:
A new IloRange object initialized to represent the constraint lb <= 0 <= ub.
Throws:
IloException

addRange

public IloRange addRange(double lb,
                         double ub)
                  throws IloException
See IloMPModeler.addRange(double lb, double ub)

Specified by:
addRange in interface IloMPModeler
Parameters:
lb - The lower bound of the new IloRange constraint.
ub - The upper bound of the new IloRange constraint.
Returns:
A new IloRange object initialized to represent the constraint lb <= 0 <= ub.
Throws:
IloException

addEq

public IloRange addEq(IloNumExpr e,
                      double v)
               throws IloException
See IloModeler.addEq(IloNumExpr e, double v)

Specified by:
addEq in interface IloModeler
Parameters:
e - Expression of the new equality constraint.
v - Upper bound of the new equality constraint.
Returns:
A new IloRange object initialized to represent the constraint expr == rhs.
Throws:
IloException

addEq

public IloRange addEq(IloNumExpr e,
                      double v,
                      java.lang.String name)
               throws IloException
See IloModeler.addEq(IloNumExpr e, double v, String name)

Specified by:
addEq in interface IloModeler
Parameters:
e - Expression of the new equality constraint.
v - Upper bound of the new equality constraint.
name - Name assigned to the new equality constraint.
Returns:
A new IloRange object initialized to represent theconstraint expr == rhs.
Throws:
IloException

addEq

public IloConstraint addEq(IloNumExpr e1,
                           IloNumExpr e2)
                    throws IloException
See IloModeler.addEq(IloNumExpr e1, IloNumExpr e2)

Specified by:
addEq in interface IloModeler
Parameters:
e1 - Lefthand side expression of the new equality constraint.
e2 - Righthand side expression of the new equality constraint.
Returns:
A new IloRange object initialized to represent the constraint e1 == e2.
Throws:
IloException

addEq

public IloConstraint addEq(IloNumExpr e1,
                           IloNumExpr e2,
                           java.lang.String name)
                    throws IloException
See IloModeler.addEq(IloNumExpr e1, IloNumExpr e2, String name)

Specified by:
addEq in interface IloModeler
Parameters:
e1 - Lefthand side expression of the new equality constraint.
e2 - Righthand side expression of the new equality constraint.
name - Name assigned to the new IloRange constraint.
Returns:
A new IloRange object initialized to represent the constraint e1 == e2.
Throws:
IloException

addEq

public IloRange addEq(double v,
                      IloNumExpr e)
               throws IloException
See IloModeler.addEq(double v, IloNumExpr e)

Specified by:
addEq in interface IloModeler
Parameters:
v - Value of the new equality constraint.
e - Expression of the new equality constraint.
Returns:
A new IloRange object initialized to represent the constraint val == expr.
Throws:
IloException

addEq

public IloRange addEq(double v,
                      IloNumExpr e,
                      java.lang.String name)
               throws IloException
See IloModeler.addEq(double v, IloNumExpr e, String name)

Specified by:
addEq in interface IloModeler
Parameters:
v - Value of the new equality constraint.
e - Expression of the new equality constraint.
name - Name assigned to the new equality constraint.
Returns:
A new IloRange object initialized to represent the constraint val == expr.
Throws:
IloException

addGe

public IloRange addGe(IloNumExpr e,
                      double v)
               throws IloException
See IloModeler.addGe(IloNumExpr e, double v)

Specified by:
addGe in interface IloModeler
Parameters:
e - Expression of the new greater-than-or-equal-to constraint.
v - Upper bound of the new greater-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint expr >= rhs.
Throws:
IloException

addGe

public IloRange addGe(IloNumExpr e,
                      double v,
                      java.lang.String name)
               throws IloException
See IloModeler.addGe(IloNumExpr e, double v, String name)

Specified by:
addGe in interface IloModeler
Parameters:
e - Expression of the new greater-than-or-equal-to constraint.
v - Upper bound of the new greater-than-or-equal-to constraint.
name - Name of the new greater-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint expr >= rhs.
Throws:
IloException

addGe

public IloConstraint addGe(IloNumExpr e1,
                           IloNumExpr e2)
                    throws IloException
See IloModeler.addGe(IloNumExpr e1, IloNumExpr e2)

Specified by:
addGe in interface IloModeler
Parameters:
e1 - Lefthand side expression of the new greater-than-or-equal-to constraint.
e2 - Righthand side expression of the new greater-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint e1 >= e2.
Throws:
IloException

addGe

public IloConstraint addGe(IloNumExpr e1,
                           IloNumExpr e2,
                           java.lang.String name)
                    throws IloException
See IloModeler.addGe(IloNumExpr e1, IloNumExpr e2, String name)

Specified by:
addGe in interface IloModeler
Parameters:
e1 - Lefthand side expression of the new greater-than-or-equal-to constraint.
e2 - Righthand side expression of the new greater-than-or-equal-to constraint.
name - Name assigned to the new IloRange constraint.
Returns:
A new IloRange object initialized to represent the constraint e1 >= e2.
Throws:
IloException

addGe

public IloRange addGe(double v,
                      IloNumExpr e)
               throws IloException
See IloModeler.addGe(double v, IloNumExpr e)

Specified by:
addGe in interface IloModeler
Parameters:
v - Value of the new greater-than-or-equal-to constraint.
e - Expression of the new greater-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint val >= expr.
Throws:
IloException

addGe

public IloRange addGe(double v,
                      IloNumExpr e,
                      java.lang.String name)
               throws IloException
See IloModeler.addGe(double v, IloNumExpr e, String name)

Specified by:
addGe in interface IloModeler
Parameters:
v - Value of the new greater-than-or-equal-to constraint.
e - Expression of the new greater-than-or-equal-to constraint.
name - Name of the new greater-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint val >= expr.
Throws:
IloException

addLe

public IloRange addLe(IloNumExpr e,
                      double v)
               throws IloException
See IloModeler.addLe(IloNumExpr e, double v)

Specified by:
addLe in interface IloModeler
Parameters:
e - Expression of the new less-than-or-equal-to constraint.
v - Upper bound of the new less-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint expr <= rhs.
Throws:
IloException

addLe

public IloRange addLe(IloNumExpr e,
                      double v,
                      java.lang.String name)
               throws IloException
See IloModeler.addLe(IloNumExpr e, double v, String name)

Specified by:
addLe in interface IloModeler
Parameters:
e - Expression of the new less-than-or-equal-to constraint.
v - Upper bound of the new less-than-or-equal-to constraint.
name - Name assigned to the new less-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint expr <= rhs.
Throws:
IloException

addLe

public IloConstraint addLe(IloNumExpr e1,
                           IloNumExpr e2)
                    throws IloException
See IloModeler.addLe(IloNumExpr e1, IloNumExpr e2)

Specified by:
addLe in interface IloModeler
Parameters:
e1 - Lefthand side expression of the new less-than-or-equal-to constraint.
e2 - Righthand side expression of the new less-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint e1 <= e2.
Throws:
IloException

addLe

public IloConstraint addLe(IloNumExpr e1,
                           IloNumExpr e2,
                           java.lang.String name)
                    throws IloException
See IloModeler.addLe(IloNumExpr e1, IloNumExpr e2, String name)

Specified by:
addLe in interface IloModeler
Parameters:
e1 - Lefthand side expression of the new less-than-or-equal-to constraint.
e2 - Righthand side expression of the new less-than-or-equal-to constraint.
name - Name assigned to the new IloRange constraint.
Returns:
A new IloRange object initialized to represent the constraint e1 <= e2.
Throws:
IloException

addLe

public IloRange addLe(double v,
                      IloNumExpr e)
               throws IloException
See IloModeler.addLe(double v, IloNumExpr e)

Specified by:
addLe in interface IloModeler
Parameters:
v - Value of the new less-than-or-equal-to constraint.
e - Expression of the new less-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint val <= exp.
Throws:
IloException

addLe

public IloRange addLe(double v,
                      IloNumExpr e,
                      java.lang.String name)
               throws IloException
See IloModeler.addLe(double v, IloNumExpr e, String name)

Specified by:
addLe in interface IloModeler
Parameters:
v - Value of the new less-than-or-equal-to constraint.
e - Expression of the new less-than-or-equal-to constraint.
name - Name assigned to the new less-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint val <= expr.
Throws:
IloException

range

public IloRange range(double lb,
                      IloNumExpr expr,
                      double ub,
                      java.lang.String name)
               throws IloException
See IloModeler.range(double lb, IloNumExpr expr, double ub, String name)

Specified by:
range in interface IloModeler
Parameters:
lb - Lower bound of the new IloRange constraint.
expr - Expression of the new IloRange constraint.
ub - Upper bound of the new IloRange constraint.
name - Name assigned to the new IloRange constraint.
Returns:
A new IloRange object initialized to represent the constraint lb <= expr <= ub.
Throws:
IloException

range

public IloRange range(double lb,
                      IloNumExpr expr,
                      double ub)
               throws IloException
See IloModeler.range(double lb, IloNumExpr expr, double ub)

Specified by:
range in interface IloModeler
Parameters:
lb - Lower bound of the new IloRange constraint.
expr - Expression of the new IloRange constraint.
ub - Upper bound of the new IloRange constraint.
Returns:
A new IloRange object initialized to represent the constraint lb <= expr <= ub.
Throws:
IloException

range

public IloRange range(double lb,
                      double ub,
                      java.lang.String name)
               throws IloException
See IloMPModeler.range(double lb, double ub, String name)

Specified by:
range in interface IloMPModeler
Parameters:
lb - The lower bound of the new IloRange constraint.
ub - The upper bound of the new IloRange constraint.
name - The name assigned to the new IloRange constraint.
Returns:
A new IloRange object initialized to represent the constraint lb <= 0 <= ub.
Throws:
IloException

range

public IloRange range(double lb,
                      double ub)
               throws IloException
See IloMPModeler.range(double lb, double ub)

Specified by:
range in interface IloMPModeler
Parameters:
lb - The lower bound of the new IloRange constraint.
ub - The upper bound of the new IloRange constraint.
Returns:
A new IloRange object initialized to represent the constraint lb <= 0 <= ub.
Throws:
IloException

eq

public IloRange eq(IloNumExpr e,
                   double v)
            throws IloException
See IloModeler.eq(IloNumExpr e, double v)

Specified by:
eq in interface IloModeler
Parameters:
e - Expression of the new equality constraint.
v - Upper bound of the new equality constraint.
Returns:
A new IloRange object initialized to represent the constraint expr == rhs.
Throws:
IloException

eq

public IloRange eq(IloNumExpr e,
                   double v,
                   java.lang.String name)
            throws IloException
See IloModeler.eq(IloNumExpr e, double v, String name)

Specified by:
eq in interface IloModeler
Parameters:
e - Expression of the new equality constraint.
v - Upper bound of the new equality constraint.
name - Name assigned to the new equality constraint.
Returns:
A new IloRange object initialized to represent the constraint expr == rhs.
Throws:
IloException

eq

public IloConstraint eq(IloNumExpr e1,
                        IloNumExpr e2)
                 throws IloException
See IloModeler.eq(IloNumExpr e1, IloNumExpr e2)

Specified by:
eq in interface IloModeler
Parameters:
e1 - Lefthand side expression of the new equality constraint.
e2 - Righthand side expression of the new equality constraint.
Returns:
A new instance of IloRange initialized to represent the constraint e1 == e2.
Throws:
IloException

eq

public IloConstraint eq(IloNumExpr e1,
                        IloNumExpr e2,
                        java.lang.String name)
                 throws IloException
See IloModeler.eq(IloNumExpr e1, IloNumExpr e2, String name)

Specified by:
eq in interface IloModeler
Parameters:
e1 - Lefthand side expression of the new equality constraint.
e2 - Righthand side expression of the new equality constraint.
name - Name assigned to the new IloRange constraint.
Returns:
A new IloRange object initialized to represent the constraint e1 == e2.
Throws:
IloException

eq

public IloRange eq(double v,
                   IloNumExpr e)
            throws IloException
See IloModeler.eq(double v, IloNumExpr e)

Specified by:
eq in interface IloModeler
Parameters:
v - Value of the new equality constraint.
e - Expression of the new equality constraint.
Returns:
A new IloRange object initialized to represent the constraint val == expr.
Throws:
IloException

eq

public IloRange eq(double v,
                   IloNumExpr e,
                   java.lang.String name)
            throws IloException
See IloModeler.eq(double v, IloNumExpr e, String name)

Specified by:
eq in interface IloModeler
Parameters:
v - Value of the new equality constraint.
e - Expression of the new equality constraint.
name - Name assigned to the new equality constraint.
Returns:
A new IloRange object initialized to represent the constraint val == expr.
Throws:
IloException

ge

public IloRange ge(IloNumExpr e,
                   double v)
            throws IloException
See IloModeler.ge(IloNumExpr e, double v)

Specified by:
ge in interface IloModeler
Parameters:
e - Expression of the new greater-than-or-equal-to constraint.
v - Upper bound of the new greater-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint expr >= rhs.
Throws:
IloException

ge

public IloRange ge(IloNumExpr e,
                   double v,
                   java.lang.String name)
            throws IloException
See IloModeler.ge(IloNumExpr e, double v, String name)

Specified by:
ge in interface IloModeler
Parameters:
e - Expression of the new greater-than-or-equal-to constraint.
v - Upper bound of the new greater-than-or-equal-to constraint.
name - Name assigned to the new greater-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint expr >= rhs.
Throws:
IloException

ge

public IloConstraint ge(IloNumExpr e1,
                        IloNumExpr e2)
                 throws IloException
See IloModeler.ge(IloNumExpr e1, IloNumExpr e2)

Specified by:
ge in interface IloModeler
Parameters:
e1 - Lefthand side expression of the new greater-than-or-equal-to constraint.
e2 - Righthand side expression of the new greater-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint e1 >= e2.
Throws:
IloException

ge

public IloConstraint ge(IloNumExpr e1,
                        IloNumExpr e2,
                        java.lang.String name)
                 throws IloException
See IloModeler.ge(IloNumExpr e1, IloNumExpr e2, String name)

Specified by:
ge in interface IloModeler
Parameters:
e1 - Lefthand side expression of the new greater-than-or-equal-to constraint.
e2 - Righthand side expression of the new greater-than-or-equal-to constraint.
name - Name of the new greater-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint e1 >= e2.
Throws:
IloException

ge

public IloRange ge(double v,
                   IloNumExpr e)
            throws IloException
See IloModeler.ge(double v, IloNumExpr e)

Specified by:
ge in interface IloModeler
Parameters:
v - Value of the new greater-than-or-equal-to constraint.
e - Expression of the new greater-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint val >= expr.
Throws:
IloException

ge

public IloRange ge(double v,
                   IloNumExpr e,
                   java.lang.String name)
            throws IloException
See IloModeler.ge(double v, IloNumExpr e, String name)

Specified by:
ge in interface IloModeler
Parameters:
v - Value of the new greater-than-or-equal-to constraint.
e - Expression of the new greater-than-or-equal-to constraint.
name - Name of the new greater-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint val >= expr.
Throws:
IloException

le

public IloRange le(IloNumExpr e,
                   double v)
            throws IloException
See IloModeler.le(IloNumExpr e, double v)

Specified by:
le in interface IloModeler
Parameters:
e - Expression of the new less-than-or-equal-to constraint.
v - Upper bound of the new less-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint expr <= rhs.
Throws:
IloException

le

public IloRange le(IloNumExpr e,
                   double v,
                   java.lang.String name)
            throws IloException
See IloModeler.le(IloNumExpr e, double v, String name)

Specified by:
le in interface IloModeler
Parameters:
e - Expression of the new less-than-or-equal-to constraint.
v - Upper bound of the new less-than-or-equal-to constraint.
name - Name assigned to the new less-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint expr <= rhs.
Throws:
IloException

le

public IloConstraint le(IloNumExpr e1,
                        IloNumExpr e2)
                 throws IloException
See IloModeler.le(IloNumExpr e1, IloNumExpr e2)

Specified by:
le in interface IloModeler
Parameters:
e1 - Lefthand side expression of the new less-than-or-equal-to constraint.
e2 - Righthand side expression of the new less-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint e1 <= e2.
Throws:
IloException

le

public IloConstraint le(IloNumExpr e1,
                        IloNumExpr e2,
                        java.lang.String name)
                 throws IloException
See IloModeler.le(IloNumExpr e1, IloNumExpr e2, String name)

Specified by:
le in interface IloModeler
Parameters:
e1 - Lefthand side expression of the new less-than-or-equal-to constraint.
e2 - Righthand side expression of the new less-than-or-equal-to constraint.
name - Name assigned to the new IloRange constraint.
Returns:
A new IloRange object initialized to represent the constraint e1 <= e2.
Throws:
IloException

le

public IloRange le(double v,
                   IloNumExpr e)
            throws IloException
See IloModeler.le(double v, IloNumExpr e)

Specified by:
le in interface IloModeler
Parameters:
v - Value of the new less-than-or-equal-to constraint.
e - Expression of the new less-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint val <= expr.
Throws:
IloException

le

public IloRange le(double v,
                   IloNumExpr e,
                   java.lang.String name)
            throws IloException
See IloModeler.le(double v, IloNumExpr e, String name)

Specified by:
le in interface IloModeler
Parameters:
v - Value of the new less-than-or-equal-to constraint.
e - Expression of the new less-than-or-equal-to constraint.
name - Name assigned to the new less-than-or-equal-to constraint.
Returns:
A new IloRange object initialized to represent the constraint val <= expr.
Throws:
IloException

addToExpr

public void addToExpr(IloRange rng,
                      IloNumExpr expr)
               throws IloException
See IloMPModeler.addToExpr(IloRange rng, IloNumExpr expr)

Specified by:
addToExpr in interface IloMPModeler
Parameters:
rng - The range constraint to modify.
expr - The expression to add.
Throws:
IloException

setLinearCoef

public void setLinearCoef(IloRange rng,
                          double val,
                          IloNumVar var)
                   throws IloException
See IloMPModeler.setLinearCoef(IloRange rng, double val, IloNumVar var)

Specified by:
setLinearCoef in interface IloMPModeler
Parameters:
rng - The range constraint to modify.
val - The coefficient to set.
var - The variable for which to set the coefficient.
Throws:
IloException

setLinearCoef

public void setLinearCoef(IloRange rng,
                          IloNumVar var,
                          double val)
                   throws IloException
See IloMPModeler.setLinearCoef(IloRange rng, IloNumVar var, double val)

Specified by:
setLinearCoef in interface IloMPModeler
Parameters:
rng - The range constraint to modify.
val - The coefficient to set.
var - The variable for which to set the coefficient.
Throws:
IloException

setLinearCoefs

public void setLinearCoefs(IloRange rng,
                           double[] val,
                           IloNumVar[] var)
                    throws IloException
See IloMPModeler.setLinearCoefs(IloRange rng, double[] val, IloNumVar[] var)

Specified by:
setLinearCoefs in interface IloMPModeler
Parameters:
rng - The range constraint to modify.
val - The array of linear coefficient values. The linear coefficient of variable var[i] is set to val[i].
var - The array of variables for which to set linear coefficients. A variable may only appear once in this array.
Throws:
IloException

setLinearCoefs

public void setLinearCoefs(IloRange rng,
                           IloNumVar[] var,
                           double[] val)
                    throws IloException
See IloMPModeler.setLinearCoefs(IloRange rng, IloNumVar[] var, double[] val)

Specified by:
setLinearCoefs in interface IloMPModeler
Parameters:
rng - The range constraint to modify.
var - The array of variables for which to set linear coefficients. A variable may only appear once in this array.
val - The array of linear coefficient values. The linear coefficient of variable var[i] is set to val[i].
Throws:
IloException

setLinearCoefs

public void setLinearCoefs(IloRange rng,
                           double[] val,
                           IloNumVar[] var,
                           int start,
                           int num)
                    throws IloException
See IloMPModeler.setLinearCoefs(IloRange rng, double[] val, IloNumVar[] var, int start, int num)

Specified by:
setLinearCoefs in interface IloMPModeler
Parameters:
rng - The range constraint to modify.
val - An array containing linear coefficient values. The linear coefficient of variable var[i] is set to val[i].
var - An array containing the variables for which to set linear coefficients. A variable may only appear once in this array.
start - The first element in val and var to use for setting coefficients.
num - The number of consecutive elements in val and var to use for setting coefficients.
Throws:
IloException

setLinearCoefs

public void setLinearCoefs(IloRange rng,
                           IloNumVar[] var,
                           double[] val,
                           int start,
                           int num)
                    throws IloException
See IloMPModeler.setLinearCoefs(IloRange rng, IloNumVar[] var, double[] val, int start, int num)

Specified by:
setLinearCoefs in interface IloMPModeler
Parameters:
rng - The range constraint to modify.
var - An array containing the variables for which to set linear coefficients. A variable may only appear once in this array.
val - An array containing linear coefficient values. The linear coefficient of variable var[i] is set to val[i].
start - The first element in val and var to use for setting coefficients.
num - The number of consecutive elements in val and var to use for setting coefficients.
Throws:
IloException

addSOS1

public IloSOS1 addSOS1(IloNumVar[] var,
                       double[] val)
                throws IloException
See IloMPModeler.addSOS1(IloNumVar[] var, double[] val)

Specified by:
addSOS1 in interface IloMPModeler
Parameters:
var - The variables in the new SOS.
val - The weight values for the variables in the new SOS.
Returns:
The new IloSOS1 object.
Throws:
IloException

addSOS1

public IloSOS1 addSOS1(IloNumVar[] var,
                       double[] val,
                       int start,
                       int num)
                throws IloException
See IloMPModeler.addSOS1(IloNumVar[] var, double[] val, int start, int num)

Specified by:
addSOS1 in interface IloMPModeler
Parameters:
var - The array containing the variables in the new SOS.
val - The array containing the weight values for the variables in the new SOS.
start - The first element in var and val to use for the new SOS.
num - The number of consecutive elements in var and val to use for the new SOS.
Returns:
The new IloSOS1 object.
Throws:
IloException

addSOS1

public IloSOS1 addSOS1(IloNumVar[] var,
                       double[] val,
                       java.lang.String name)
                throws IloException
See IloMPModeler.addSOS1(IloNumVar[] var, double[] val, String name)

Specified by:
addSOS1 in interface IloMPModeler
Parameters:
var - The variables in the new SOS.
val - The weight values for the variables in the new SOS.
name - The name of the new SOS.
Returns:
The new IloSOS1 object.
Throws:
IloException

addSOS1

public IloSOS1 addSOS1(IloNumVar[] var,
                       double[] val,
                       int start,
                       int num,
                       java.lang.String name)
                throws IloException
See IloMPModeler.addSOS1(IloNumVar[] var, double[] val, int start, int num, String name)

Specified by:
addSOS1 in interface IloMPModeler
Parameters:
var - An array containing the variables in the new SOS.
val - An array containing the weight values for the variables in the new SOS.
start - The first element in var and val to use for the new SOS.
num - The number of consecutive elements in var and val to use for the new SOS.
name - The name of the new SOS.
Returns:
The new IloSOS1 object.
Throws:
IloException

SOS1

public IloSOS1 SOS1(IloNumVar[] var,
                    double[] val)
             throws IloException
See IloMPModeler.SOS1(IloNumVar[] var, double[] val)

Specified by:
SOS1 in interface IloMPModeler
Parameters:
var - The variables in the new SOS.
val - The weight values for the variables in the new SOS.
Returns:
The new IloSOS1 object.
Throws:
IloException

SOS1

public IloSOS1 SOS1(IloNumVar[] var,
                    double[] val,
                    int start,
                    int num)
             throws IloException
See IloMPModeler.SOS1(IloNumVar[] var, double[] val, int start, int num)

Specified by:
SOS1 in interface IloMPModeler
Parameters:
var - An array containing the variables in the new SOS.
val - An array containing the weight values for the variables in the new SOS.
start - The first element in var and val to use for the new SOS.
num - The number of consecutive elements in var and val to use for the new SOS.
Returns:
The new IloSOS1 object.
Throws:
IloException

SOS1

public IloSOS1 SOS1(IloNumVar[] var,
                    double[] val,
                    java.lang.String name)
             throws IloException
See IloMPModeler.SOS1(IloNumVar[] var, double[] val, String name)

Specified by:
SOS1 in interface IloMPModeler
Parameters:
var - The variables in the new SOS.
val - The weight values for the variables in the new SOS.
name - The name of the new SOS.
Returns:
The new IloSOS1 object.
Throws:
IloException

SOS1

public IloSOS1 SOS1(IloNumVar[] var,
                    double[] val,
                    int start,
                    int num,
                    java.lang.String name)
             throws IloException
See IloMPModeler.SOS1(IloNumVar[] var, double[] val, int start, int num, String name)

Specified by:
SOS1 in interface IloMPModeler
Parameters:
var - An array containing the variables in the new SOS.
val - An array containing the weight values for the variables in the new SOS.
start - The first element in var and val to use for the new SOS.
num - The number of consecutive elements in var and val to use for the new SOS.
name - The name of the new SOS.
Returns:
The new IloSOS1 object.
Throws:
IloException

addSOS2

public IloSOS2 addSOS2(IloNumVar[] var,
                       double[] val)
                throws IloException
See IloMPModeler.addSOS2(IloNumVar[] var, double[] val)

Specified by:
addSOS2 in interface IloMPModeler
Parameters:
var - The variables in the new SOS.
val - The weight values for the variables in the new SOS.
Returns:
The new IloSOS2 object.
Throws:
IloException

addSOS2

public IloSOS2 addSOS2(IloNumVar[] var,
                       double[] val,
                       int start,
                       int num)
                throws IloException
See IloMPModeler.addSOS2(IloNumVar[] var, double[] val, int start, int num)

Specified by:
addSOS2 in interface IloMPModeler
Parameters:
var - An array containing the variables in the new SOS.
val - An array containing the weight values for the variables in the new SOS.
start - The first element in var and val to use for the new SOS.
num - The number of consecutive elements in var and val to use for the new SOS.
Returns:
The new IloSOS2 object.
Throws:
IloException

addSOS2

public IloSOS2 addSOS2(IloNumVar[] var,
                       double[] val,
                       java.lang.String name)
                throws IloException
See IloMPModeler.addSOS2(IloNumVar[] var, double[] val, String name)

Specified by:
addSOS2 in interface IloMPModeler
Parameters:
var - The variables in the new SOS.
val - The weight values for the variables in the new SOS.
name - The name of the new SOS.
Returns:
The new IloSOS2 object.
Throws:
IloException

addSOS2

public IloSOS2 addSOS2(IloNumVar[] var,
                       double[] val,
                       int start,
                       int num,
                       java.lang.String name)
                throws IloException
See IloMPModeler.addSOS2(IloNumVar[] var, double[] val, int start, int num, String name)

Specified by:
addSOS2 in interface IloMPModeler
Parameters:
var - An array containing the variables in the new SOS.
val - An array containing the weight values for the variables in the new SOS.
start - The first element in var and val to use for the new SOS.
num - The number of consecutive elements in var and val to use for the new SOS.
name - The name of the new SOS.
Returns:
The new IloSOS2 object.
Throws:
IloException

SOS2

public IloSOS2 SOS2(IloNumVar[] var,
                    double[] val)
             throws IloException
See IloMPModeler.SOS2(IloNumVar[] var, double[] val)

Specified by:
SOS2 in interface IloMPModeler
Parameters:
var - The variables in the new SOS.
val - The weight values for the variables in the new SOS.
Returns:
The new IloSOS2 object.
Throws:
IloException

SOS2

public IloSOS2 SOS2(IloNumVar[] var,
                    double[] val,
                    int start,
                    int num)
             throws IloException
See IloMPModeler.SOS2(IloNumVar[] var, double[] val, int start, int num)

Specified by:
SOS2 in interface IloMPModeler
Parameters:
var - An array containing the variables in the new SOS.
val - An array containing the weight values for the variables in the new SOS.
start - The first element in var and val to use for the new SOS.
num - The number of consecutive elements in var and val to use for the new SOS.
Returns:
The new IloSOS2 object.
Throws:
IloException

SOS2

public IloSOS2 SOS2(IloNumVar[] var,
                    double[] val,
                    java.lang.String name)
             throws IloException
See IloMPModeler.SOS2(IloNumVar[] var, double[] val, String name)

Specified by:
SOS2 in interface IloMPModeler
Parameters:
var - The variables in the new SOS.
val - The weight values for the variables in the new SOS.
name - The name of the new SOS.
Returns:
The new IloSOS2 object.
Throws:
IloException

SOS2

public IloSOS2 SOS2(IloNumVar[] var,
                    double[] val,
                    int start,
                    int num,
                    java.lang.String name)
             throws IloException
See IloMPModeler.SOS2(IloNumVar[] var, double[] val, int start, int num, String name)

Specified by:
SOS2 in interface IloMPModeler
Parameters:
var - An array containing the variables in the new SOS.
val - An array containing the weight values for the variables in the new SOS.
start - The first element in var and val to use for the new SOS.
num - The number of consecutive elements in var and val to use for the new SOS.
name - The name of the new SOS.
Returns:
The new IloSOS2 object.
Throws:
IloException

column

public IloColumn column(IloRange rng,
                        double val)
                 throws IloException
See IloMPModeler.column(IloRange rng, double val)

Specified by:
column in interface IloMPModeler
Parameters:
rng - The range constraint for which to create the column term.
val - The linear coefficient the new IloColumn will use for adding a new variable to rng.
Returns:
The new IloColumn object.
Throws:
IloException

columnArray

public IloColumnArray columnArray(IloRange rng,
                                  double[] val)
                           throws IloException
See IloMPModeler.columnArray(IloRange rng, double[] val)

Specified by:
columnArray in interface IloMPModeler
Parameters:
rng - The range constraint for which to create the column array term.
val - The linear coefficient the IloColumnArray will use for adding new variables to rng.
Returns:
The new IloColumnArray object.
Throws:
IloException

columnArray

public IloColumnArray columnArray(IloRange rng,
                                  double[] val,
                                  int start,
                                  int num)
                           throws IloException
See IloMPModeler.columnArray(IloRange rng, double[] val, int start, int num)

Specified by:
columnArray in interface IloMPModeler
Parameters:
rng - The range constraint for which to create the column array term.
val - An array containing the linear coefficients the IloColumnArray will use for adding new variables to rng.
start - The first element in val to use.
num - The number of consecutive elements in val to use.
Returns:
The new IloColumnArray object.
Throws:
IloException

column

public IloColumn column(IloObjective obj,
                        double val)
                 throws IloException
See IloMPModeler.column(IloObjective obj, double val)

Specified by:
column in interface IloMPModeler
Parameters:
obj - The objective for which to create the column term.
val - The linear coefficient the new IloColumn will use for adding a new variable to obj.
Returns:
The new IloColumn object.
Throws:
IloException

columnArray

public IloColumnArray columnArray(IloObjective obj,
                                  double[] val)
                           throws IloException
See IloMPModeler.columnArray(IloObjective obj, double[] val)

Specified by:
columnArray in interface IloMPModeler
Parameters:
obj - The objective for which to create the column array term.
val - The linear coefficients the IloColumnArray will use for adding new variables to obj.
Returns:
The new IloColumnArray object.
Throws:
IloException

columnArray

public IloColumnArray columnArray(IloObjective obj,
                                  double[] val,
                                  int start,
                                  int num)
                           throws IloException
See IloMPModeler.columnArray(IloObjective obj, double[] val, int start, int num)

Specified by:
columnArray in interface IloMPModeler
Parameters:
obj - The objective for which to create the column array term.
val - An array containing the linear coefficients the IloColumnArray will use for adding new variables to obj.
start - The first element in val to use.
num - The number of consecutive elements in val to use.
Returns:
The new IloColumnArray object.
Throws:
IloException

column

public IloColumn column(IloLPMatrix lp)
                 throws IloException
See IloMPModeler.column(IloLPMatrix lp)

Specified by:
column in interface IloMPModeler
Parameters:
lp - The IloLPMatrix object for which to create the new column.
Returns:
The new IloColumn object.
Throws:
IloException

column

public IloColumn column(IloLPMatrix lp,
                        int[] ind,
                        double[] val)
                 throws IloException
See IloMPModeler.column(IloLPMatrix lp, int[] ind, double[] val)

Specified by:
column in interface IloMPModeler
Parameters:
lp - The IloLPMatrix object for which to create the new column.
ind - An array of indices indicating the row indices of the nonzeros in the new column. Indices may not occur multiple times in this list and must be in the range 0 through lp.getNcols()-1.
val - An array of values indicating the value of the nonzero entries for the column.
Returns:
An IloColumn object suitable for creating a new column in lp with nonzeros as specified by the arguments ind and val.
Throws:
IloException

column

public IloColumn column(IloLPMatrix lp,
                        int[] ind,
                        double[] val,
                        int start,
                        int num)
                 throws IloException
See IloMPModeler.column(IloLPMatrix lp, int[] ind, double[] val, int start, int num)

Specified by:
column in interface IloMPModeler
Parameters:
lp - The IloLPMatrix object for which to create the new column.
ind - An array containing the indices indicating the row indices of the nonzeros in the new column. Indices may not occur multiple times in this list and must be in the range 0 through lp.getNcols()-1.
val - An array containing values indicating the value of the nonzero entries for the column.
start - The index of the first element in arrays ind and val to use.
num - The number of consecutive elements in arrays ind and val to use.
Returns:
An IloColumn object suitable for creating a new column in lp with nonzeros as specified in arguments ind and val.
Throws:
IloException

columnArray

public IloColumnArray columnArray(IloLPMatrix lp,
                                  int num,
                                  int[][] ind,
                                  double[][] val)
                           throws IloException
See IloMPModeler.columnArray(IloLPMatrix lp, int num, int[][] ind, double[][] val)

Specified by:
columnArray in interface IloMPModeler
Parameters:
lp - The IloLPMatrix object for which to create the new column array term.
num - The size of the column array term to create or, equivalently, the number of consecutive elements in ind and val to use.
ind - An array of arrays of row indices of the nonzeros for each of the new columns. Indices may not occur multiple times within one column, and they must be in the range 0 through lp.getNcols()-1.
val - An array of arrays of values of the nonzeros for each of the new columns.
Returns:
An IloColumnArray object suitable for creating new columns in the LP matrix lp as specified by arguments ind and val.
Throws:
IloException

columnArray

public IloColumnArray columnArray(IloLPMatrix lp,
                                  int num)
                           throws IloException
See IloMPModeler.columnArray(IloLPMatrix lp, int num)

Specified by:
columnArray in interface IloMPModeler
Parameters:
lp - The IloLPMatrix object for which to create the new column.
num - The size of the new column array term to create.
Returns:
An IloColumnArray object suitable for creating num empty columns to the IloLPMatrix.
Throws:
IloException

delete

public void delete(IloCopyable obj)
            throws IloException
See IloMPModeler.delete(IloCopyable obj)

Specified by:
delete in interface IloMPModeler
Parameters:
obj - The modeling object to be deleted from the invoking model.
Throws:
IloException

delete

public void delete(IloCopyable[] obj)
            throws IloException
See IloMPModeler.delete(IloCopyable[] obj)

Specified by:
delete in interface IloMPModeler
Parameters:
obj - The array of modeling objects to be deleted from the invoking model.
Throws:
IloException

delete

public void delete(IloCopyable[] obj,
                   int beg,
                   int num)
            throws IloException
See IloMPModeler.delete(IloCopyable[] obj, int beg, int num)

Specified by:
delete in interface IloMPModeler
Parameters:
obj - An array containing the modeling objects to be deleted from the invoking model.
beg - The index of the first modeling object in obj to be deleted from the invoking model.
num - The number of modeling objects in obj to be deleted from the invoking model.
Throws:
IloException

scalProd

public IloLinearNumExpr scalProd(int[] vals,
                                 IloNumVar[] vars,
                                 int start,
                                 int num)
                          throws IloException
Creates and returns a new linear expression representing the scalar product of the num values in vals starting at element start with the corresponding variables in vars.

Parameters:
vals - An array containing the values to use for building the scalar product.
vars - An array containing the variables to use for building the scalar product.
start - The index of the first element to use in vals and vars.
num - The number of elements to use in vals and vars.
Returns:
An expression representing the scalar product of the specified values and variables.
Throws:
IloException

scalProd

public IloLinearNumExpr scalProd(IloNumVar[] vars,
                                 int[] vals,
                                 int start,
                                 int num)
                          throws IloException
Creates and returns a new linear expression representing the scalar product of the num variables in vars starting at element start with the corresponding values in vals.

Parameters:
vars - An array containing the variables to use for building the scalar product.
vals - An array containing the values to use for building the scalar product.
start - The index of the first element to use in vals and vars.
num - The number of elements to use in vals and vars.
Returns:
An expression representing the scalar product of the specified values and variables.
Throws:
IloException

scalProd

public IloNumExpr scalProd(IloNumVar[] vars1,
                           IloNumVar[] vars2)
                    throws IloException
Creates and returns a linear expression representing the scalar product of the given variables.

Specified by:
scalProd in interface IloModeler
Parameters:
vars1 - The first array of variables involved in the new scalar product.
vars2 - The second array of variables involved in the new scalar * product.
Returns:
The new linear expression.
Throws:
IloException

scalProd

public IloNumExpr scalProd(IloNumVar[] vars1,
                           IloNumVar[] vars2,
                           int start,
                           int num)
                    throws IloException
Creates and returns a linear expression representing the scalar product of the given variables.

Specified by:
scalProd in interface IloModeler
Parameters:
vars1 - The first array of variables involved in the new scalar product.
vars2 - The second array of variables involved in the new scalar * product.
start - The index of the first element to use in the multiplication.
num - The number of elements to use in the multiplication, starting from the element indicated by start.
Returns:
The new linear expression.
Throws:
IloException

linearIntExpr

public IloLinearIntExpr linearIntExpr()
                               throws IloException
See IloModeler.linearIntExpr()

Specified by:
linearIntExpr in interface IloModeler
Throws:
IloException

sum

public IloNumExpr sum(IloNumExpr[] expr,
                      int start,
                      int num)
               throws IloException
See IloModeler.sum(IloNumExpr[] expr, int start, int num)

Specified by:
sum in interface IloModeler
Parameters:
expr - An array containing the expressions to be summed.
start - The first term in expr to be used.
num - The number of terms in expr to be used.
Returns:
An expression representing the sum of the specified terms.
Throws:
IloException

sum

public IloNumExpr sum(IloNumExpr[] expr)
               throws IloException
See IloModeler.sum(IloNumExpr[] expr)

Specified by:
sum in interface IloModeler
Parameters:
expr - An array containing the terms to be summed.
Returns:
An expression representing the sum of the specified terms.
Throws:
IloException

sum

public IloIntExpr sum(IloIntExpr[] expr,
                      int start,
                      int num)
               throws IloException
See IloModeler.sum(IloIntExpr[] expr, int start, int num)

Specified by:
sum in interface IloModeler
Parameters:
expr - An array containing the expressions to be summed.
start - The first expression in expr to be used.
num - The number of expressions in expr to be used.
Returns:
An integer expression representing the sum of the specified expressions.
Throws:
IloException

sum

public IloIntExpr sum(IloIntExpr[] expr)
               throws IloException
See IloModeler.sum(IloIntExpr[] expr)

Specified by:
sum in interface IloModeler
Parameters:
expr - An array containing the expressions to be summed.
Returns:
An integer expression representing the sum of the specified expressions.
Throws:
IloException

LPMatrixIterator

public java.util.Iterator LPMatrixIterator()
Returns an iterator over all IloLPMatrix objects in the active model.

Returns:
An iterator over all IloLPMatrix objects in the active model.

rangeIterator

public java.util.Iterator rangeIterator()
Returns an iterator over all instances of IloRange in the active model. This iterator accounts only for the IloRange objects directly added to the active model and not the objects that may be in an instance of IloLPMatrix and have been added indirectly.

Returns:
An iterator over all IloRange objects in the active model.

conversionIterator

public java.util.Iterator conversionIterator()
Returns an iterator over all IloConversion objects in the active model.

Returns:
An iterator over all IloConversion objects in the active model.

SOS1iterator

public java.util.Iterator SOS1iterator()
Returns an iterator over all IloSOS1 objects in the active model.

Returns:
An iterator over all IloSOS1 objects in the active model.

SOS2iterator

public java.util.Iterator SOS2iterator()
Returns an iterator over all IloSOS2 objects in the active model.

Returns:
An iterator over all IloSOS2 objects in the active model.

getObjective

public IloObjective getObjective()
Returns the IloObjective object of the active model, or null if no IloObjective object is currently in the active model.

Returns:
The IloObjective object in the active model, or null if there is no IloObjective.

needCopy

public void needCopy(IloCopyManager.Check check)

makeCopy

public IloCopyable makeCopy(IloCopyManager copy)
                     throws IloException
Throws:
IloException