Class KConditionNumLinComb

java.lang.Object
com.artelys.kalis.KConstraint
com.artelys.kalis.KConditionNumLinComb

public class KConditionNumLinComb extends KConstraint
Conditionnal numeric linear combination constraint.

This constraint can be represented as a linear combination
Sum(a_i * X_i * f(X_i)) { <= , != , == } C where the function f(X_i) is an
indicator (1 or 0) function to specify.
  • Constructor Details

    • KConditionNumLinComb

      protected KConditionNumLinComb(long cPtr, boolean cMemoryOwn)
  • Method Details

    • getCPtr

      protected static long getCPtr(KConditionNumLinComb obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class KConstraint
    • delete

      public void delete()
      Overrides:
      delete in class KConstraint
    • getConstraintIPtr

      public com.artelys.kalis.SWIGTYPE_p_void getConstraintIPtr()
    • conditionTest

      public int conditionTest(int varIndex)
      Method to overload for indicator function