Package com.artelys.kalis
Class KNumNonLinearComb
- java.lang.Object
-
- com.artelys.kalis.KConstraint
-
- com.artelys.kalis.KNumNonLinearComb
-
public class KNumNonLinearComb extends KConstraint
This class represents a constraint to propagate any non linear constraint of
the form KNonLinearTerm COMPARATOR KNonLinearTerm.
- Since:
- 2016.1
- See Also:
KConstraint
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KNumNonLinearComb.NonLinearCombOperator
Available operators for the constraint
-
Field Summary
-
Fields inherited from class com.artelys.kalis.KConstraint
swigCMemOwn
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
KNumNonLinearComb(long cPtr, boolean cMemoryOwn)
KNumNonLinearComb(KNumNonLinearComb toCopy)
Copy ConstructorKNumNonLinearComb(KProblem prob, KNonLinearTerm left, double right, int NonlinCombOperator)
Constructor with a non linear term on the left and a real on the right
KNumNonLinearComb(KProblem prob, KNonLinearTerm left, KNonLinearTerm right, int NonlinCombOperator)
Primary Constructor
KNumNonLinearComb(KProblem prob, KNonLinearTerm left, KNumVar right, int NonlinCombOperator)
Constructor with a non linear term on the left and a variable on the right
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
protected void
finalize()
com.artelys.kalis.SWIGTYPE_p_void
getConstraintIPtr()
protected static long
getCPtr(KNumNonLinearComb obj)
-
Methods inherited from class com.artelys.kalis.KConstraint
askIfEntailed, getArity, getCopyPtr, getCPtr, getInstance, getInstanceCopyPtr, getLinearRelaxation, getLinearRelaxation, getName, getPriority, getProblem, getTag, getTypeInfo, isGetLinearRelaxationImplemented, print, print, setName, setPriority, setTag
-
-
-
-
Constructor Detail
-
KNumNonLinearComb
protected KNumNonLinearComb(long cPtr, boolean cMemoryOwn)
-
KNumNonLinearComb
public KNumNonLinearComb(KProblem prob, KNonLinearTerm left, KNonLinearTerm right, int NonlinCombOperator)
Primary Constructor
- Parameters:
prob
- the problemleft
- the left non linear termright
- the right non linear termNonlinCombOperator
- operator of the non linear constraint {<=,>=,==}
-
KNumNonLinearComb
public KNumNonLinearComb(KProblem prob, KNonLinearTerm left, KNumVar right, int NonlinCombOperator)
Constructor with a non linear term on the left and a variable on the right
- Parameters:
prob
- the problemleft
- the left non linear termright
- the variable on the rightNonlinCombOperator
- operator of the non linear constraint {<=,>=,==}
-
KNumNonLinearComb
public KNumNonLinearComb(KProblem prob, KNonLinearTerm left, double right, int NonlinCombOperator)
Constructor with a non linear term on the left and a real on the right
- Parameters:
prob
- the problemleft
- the left non linear termright
- the value on the rightNonlinCombOperator
- operator of the non linear constraint {<=,>=,==}
-
KNumNonLinearComb
public KNumNonLinearComb(KNumNonLinearComb toCopy)
Copy Constructor
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KNumNonLinearComb obj)
-
finalize
protected void finalize()
- Overrides:
finalize
in classKConstraint
-
delete
public void delete()
- Overrides:
delete
in classKConstraint
-
getConstraintIPtr
public com.artelys.kalis.SWIGTYPE_p_void getConstraintIPtr()
-
-