Skip to main content
FRAMES NO FRAMES

operator<=

public IlcConstraint operator<=(const IlcIntExp exp1, const IlcIntExp exp2)
public IlcConstraint operator<=(const IlcIntExp exp1, IlcInt exp2)
public IlcConstraint operator<=(IlcInt exp1, const IlcIntExp exp2)
public IlcConstraint operator<=(const IlcFloatExp exp1, const IlcFloatExp exp2)
public IlcConstraint operator<=(const IlcFloatExp exp1, IlcFloat exp2)
public IlcConstraint operator<=(IlcFloat exp1, const IlcFloatExp exp2)
Definition file: ilcp/cpext.h
Include file: <ilcp/cpext.h>
Overloaded C++ operator.

This operator creates and returns an inequality constraint between its arguments; that is, the first argument must be less than or equal to the second.

This constraint is associated with the whenRange propagation event after you post it if its arguments are constrained floating-point expressions or constrained integer expressions.

When you create a constraint, it has no effect until you post it.

See Also:


operator<=

public IloConstraint operator<=(IloNumExprArg base, IloNumExprArg base2)
public IloRange operator<=(IloNumExprArg base, IloNum val)
public IloRangeBase operator<=(IloNum val, const IloNumExprArg expr)
Definition file: ilconcert/ilolinear.h
overloaded C++ operator

This overloaded C++ operator constrains its first argument to be less than or equal to its second argument. In order to be taken into account, this constraint must be added to a model and extracted for an algorithm.


operator<=

public IloRange operator<=(const IloRangeBase base, IloNum val)
Definition file: ilconcert/ilolinear.h

This overloaded C++ operator constrains its first argument to be less than or equal to its second argument. In order to be taken into account, this constraint must be added to a model and extracted for an algorithm.

Not for use with CP Optimizer.


operator<=

public IloConstraint operator<=(const IloCumulFunctionExpr f, IloInt vmax)
Definition file: ilconcert/ilosmodel.h
Overloaded C++ operator.

This function returns a constraint that states that the value of cumul function expression f should never be greater than vmax. You must add this constraint to a model and extract the model to an algorithm in order for it to be taken into account.

Note: This constraint cannot be used in a logical constraint.

For more information on cumul function expressions, see the concept Cumul functions in CP Optimizer.


operator<=

public IloConstraint operator<=(const IloCumulFunctionExpr f, const IloIntExprArg vmax)
Definition file: ilconcert/ilosmodel.h
Overloaded C++ operator.

This function returns a constraint that states that the value of cumul function expression f should never be greater than vmax. You must add this constraint to a model and extract the model to an algorithm in order for it to be taken into account.

Note: This constraint cannot be used in a logical constraint.

For more information on cumul function expressions, see the concept Cumul functions in CP Optimizer.


operator<=

public IloConstraint operator<=(IloInt vmin, const IloCumulFunctionExpr f)
Definition file: ilconcert/ilosmodel.h
Overloaded C++ function.

This function returns a constraint that states that the value of cumul function expression f should never be less than than vmin. You must add this constraint to a model and extract the model to an algorithm in order for it to be taken into account.

Note: This constraint cannot be used in a logical constraint.

For more information on cumul function expressions, see the concept Cumul functions in CP Optimizer.


operator<=

public IloConstraint operator<=(const IloIntExprArg vmin, const IloCumulFunctionExpr f)
Definition file: ilconcert/ilosmodel.h
Overloaded C++ function.

This function returns a constraint that states that the value of cumul function expression f should never be less than than vmin. You must add this constraint to a model and extract the model to an algorithm in order for it to be taken into account.

Note: This constraint cannot be used in a logical constraint.

For more information on cumul function expressions, see the concept Cumul functions in CP Optimizer.