Package org.ssclab.pl.milp
Class InternalConstraint
- java.lang.Object
-
- org.ssclab.pl.milp.InternalConstraint
-
- All Implemented Interfaces:
Serializable
,Cloneable
public final class InternalConstraint extends Object implements Cloneable, Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InternalConstraint.TYPE_CONSTR
-
Constructor Summary
Constructors Constructor Description InternalConstraint()
InternalConstraint(int dimension)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
aprint()
InternalConstraint
clone()
static InternalConstraint
createConstraintFromVar(int dim, int index, Double value, InternalConstraint.TYPE_CONSTR ltype)
double[]
getAi()
double
getAij(int j)
double
getBi()
ConsType
getConsType()
String
getName()
InternalConstraint.TYPE_CONSTR
getType()
void
setAi(double[] Ai)
void
setAij(int j, double aij)
void
setBi(double bi)
void
setName(String name)
void
setType(InternalConstraint.TYPE_CONSTR type)
void
standardize_b_positive()
-
-
-
Method Detail
-
getAi
public double[] getAi()
-
setAij
public void setAij(int j, double aij)
-
setAi
public void setAi(double[] Ai)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getAij
public double getAij(int j)
-
setBi
public void setBi(double bi)
-
getBi
public double getBi()
-
getType
public InternalConstraint.TYPE_CONSTR getType()
-
getConsType
public ConsType getConsType()
-
setType
public void setType(InternalConstraint.TYPE_CONSTR type)
-
standardize_b_positive
public void standardize_b_positive()
-
createConstraintFromVar
public static InternalConstraint createConstraintFromVar(int dim, int index, Double value, InternalConstraint.TYPE_CONSTR ltype)
-
aprint
public void aprint()
-
clone
public InternalConstraint clone()
-
-