Class KNumXOperatorLnY


  • public class KNumXOperatorLnY
    extends KConstraint
    This class creates a X {==,<=,>=} ln(Y) constraint

    Example :
    
    KNumVar X(...);
    KNumVar Y(...);
    // ...
    problem.post(KNumXOperatorLnY(X, Y, GEQ));
    

    Since:
    2016.1
    See Also:
    KConstraint

    • Constructor Detail

      • KNumXOperatorLnY

        protected KNumXOperatorLnY​(long cPtr,
                                   boolean cMemoryOwn)
      • KNumXOperatorLnY

        public KNumXOperatorLnY​(KNumVar v1,
                                KNumVar v2,
                                int op)
        Primary constructor of v1 [op] ln( v2 )
        Parameters:
        v1 - the v1 variable
        v2 - the v2 variable
        op - operator for the constraint (GEQ, LEQ, EQ)
      • KNumXOperatorLnY

        public KNumXOperatorLnY​(KNumXOperatorLnY toCopy)
        Copy constructor