Uses of Class
edu.harvard.econcs.jopt.solver.mip.Constraint

Packages that use Constraint
edu.harvard.econcs.jopt.solver   
edu.harvard.econcs.jopt.solver.mip   
 

Uses of Constraint in edu.harvard.econcs.jopt.solver
 

Methods in edu.harvard.econcs.jopt.solver that return Constraint
 Constraint IMIP.getConstraint(int constraintId)
           
 

Methods in edu.harvard.econcs.jopt.solver with parameters of type Constraint
 int IMIP.add(Constraint constraint, int constraintId)
          Adds a new constraint
 MIPInfeasibleException.Cause MIPInfeasibleException.getCause(Constraint c)
           
 

Uses of Constraint in edu.harvard.econcs.jopt.solver.mip
 

Methods in edu.harvard.econcs.jopt.solver.mip that return Constraint
 Constraint MIPWrapper.beginNewEQConstraint(double constant)
          Creates a new Less Equals constraint
 Constraint MIPWrapper.beginNewGEQConstraint(double constant)
          Creates a new Less Than or Equals constraint
 Constraint MIPWrapper.beginNewLEQConstraint(double constant)
          Creates a new Less Than or Equals constraint This example makes a constraint "-2y <= 3"
(assumes earlier call like:MIPWrapper mip = makeNewMaxMIP(), and a Variable y)

Constraint c = beginNewLEQConstraint(3);
c.addTerm(y, -2);
mip.endConstraint(c); * @param constant is the value that is on the right hand side of the equation.
 Constraint MIP.getConstraint(int constraintId)
           
 Constraint Constraint.typedClone()
           
 

Methods in edu.harvard.econcs.jopt.solver.mip with parameters of type Constraint
 int MIP.add(Constraint constraint, int constraintId)
           
 void MIPWrapper.endConstraint(Constraint constraint)
          Call this when you are done building up a constraint.