FRAMES NO FRAMES

operator==

public IloConstraint operator==(const IloAnyVar var1, const IloAnyVar var2)
public IloConstraint operator==(const IloAnyVar var1, IloAny val)
public IloConstraint operator==(IloAny val, const IloAnyVar var1)
public IloConstraint operator==(const IloAnySetVar var1, const IloAnySetVar var2)
public IloConstraint operator==(const IloAnySetVar var1, const IloAnySet set)
public IloConstraint operator==(const IloAnySet set, const IloAnySetVar var1)
public IloConstraint operator==(const IloIntSetVar var1, const IloIntSetVar var2)
public IloConstraint operator==(const IloIntSetVar var1, const IloIntSet set)
public IloConstraint operator==(const IloIntSet set, const IloIntSetVar var)
Definition file: ilconcert/iloany.h

This overloaded C++ operator constrains its two arguments to be equal. In order to be taken into account, this constraint must be added to a model and extracted for an algorithm.


operator==

public IloPredicate< IloObject > operator==(IloEvaluator< IloObject > left, IloEvaluator< IloObject > right)
public IloPredicate< IloObject > operator==(IloEvaluator< IloObject > left, IloNum threshold)
public IloPredicate< IloObject > operator==(IloNum threshold, IloEvaluator< IloObject > right)
Definition file: ilsolver/iloselector.h
Include file: <ilsolver/iloselector.h>
Creates an equality predicate from two evaluators.

These operators create a new IloPredicate<IloObject> instance by comparing the value returned by an evaluator with either that of another evaluator or a given value. The semantics of the new predicate is an equality comparison. The first function creates a predicate which returns IloTrue if and only if the value returned by the left evaluator is equal to the value returned by the right evaluator. The second function creates a predicate which returns IloTrue if and only if the value returned by the left evaluator is equal to the value given as argument. The third function creates a predicate that returns IloTrue if and only if the value given as argument is equal to the value returned by the right evaluator.

For more information, see Selectors.


operator==

public IloBool operator==(const IloIntervalList intervals1, const IloIntervalList intervals2)
Definition file: ilconcert/ilointervals.h
Returns IloTrue for same interval lists.

This operator returns IloTrue if the interval lists are the same. That is, IloTrue is returned if they have the same definition interval and if they contain the same intervals. Note that it compares the content of the interval lists as well as the equality of implementation pointer. See also IloIntervalList.


operator==

public IloBool operator==(const IloNumToAnySetStepFunction f1, const IloNumToAnySetStepFunction f2)
Definition file: ilconcert/ilosetfunc.h
overloaded operator.

This operator returns IloTrue if the functions are the same. That is, IloTrue is returned if they have the same definition interval and if they have the same value over time. Note that it compares the content of the functions as well as the equality of implementation pointer. See also: IloNumToAnySetStepFunction.


operator==

public IlcBool operator==(const IlcRevAny & rev, IlcAny value)
public IlcBool operator==(const IlcRevBool & rev, IlcBool bexp)
public IlcBool operator==(IlcBool bexp, const IlcRevBool & rev)
public IlcBool operator==(const IlcRevBool & rev1, const IlcRevBool & rev2)
public IlcBool operator==(const IlcRevInt & rev, IlcInt value)
public IlcBool operator==(IlcInt value, const IlcRevInt & rev)
public IlcBool operator==(const IlcRevInt & rev1, const IlcRevInt & rev2)
public IlcBool operator==(IlcAny value, const IlcRevAny & rev)
public IlcBool operator==(const IlcRevAny & rev1, const IlcRevAny & rev2)
public IlcBool operator==(const IlcRevFloat & rev, IlcFloat value)
public IlcBool operator==(IlcFloat value, const IlcRevFloat & rev)
public IlcBool operator==(const IlcRevFloat & rev1, const IlcRevFloat & rev2)
public IlcBool operator==(const IlcIntToIntStepFunction & f1, const IlcIntToIntStepFunction & f2)
Definition file: ilsolver/basic.h
Include file: <ilsolver/ilosolver.h>

This operator compares its arguments and returns IlcTrue if they are equal; otherwise, it returns IlcFalse.

See Also:


operator==

public IlcConstraint operator==(const IlcIntExp exp1, const IlcIntExp exp2)
public IlcConstraint operator==(const IlcAnyExp exp1, const IlcAnyExp exp2)
public IlcConstraint operator==(const IlcAnyExp exp1, IlcAny exp2)
public IlcConstraint operator==(IlcAny exp1, const IlcAnyExp exp2)
public IlcConstraint operator==(const IlcIntExp exp1, IlcInt exp2)
public IlcConstraint operator==(IlcInt exp1, const IlcIntExp exp2)
public IlcConstraint operator==(IlcAnySetVar set1, IlcAnySetVar set2)
public IlcConstraint operator==(IlcAnySetVar set1, IlcAnySet set2)
public IlcConstraint operator==(IlcAnySet set1, IlcAnySetVar set2)
public IlcConstraint operator==(IlcIntSetVar set1, IlcIntSetVar set2)
public IlcConstraint operator==(IlcIntSet set1, IlcIntSetVar set2)
public IlcConstraint operator==(IlcIntSetVar set1, IlcIntSet set2)
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)
public IlcConstraint operator==(const IlcConstraint ct1, const IlcConstraint ct2)
Definition file: ilsolver/ilcint.h
Include file: <ilsolver/ilosolver.h>

This operator creates and returns an equality constraint between its arguments.

If one or both of its arguments are constrained set variables (instances of IlcAnySetVar or IlcIntSetVar or their subclasses), then when you post this constraint, the sets are replaced by their intersection. The constraint is stored so that any modification of one of those constrained set variables is propagated to the other.

If one or both of its arguments are constrained floating-point or integer variables, then when you post this constraint, it will be associated with the whenRange propagation event.

When both of its arguments are constraints (instances of IlcConstraint), then the constraint that this operator creates and returns forces its two arguments to be equivalent.

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

See Also:


operator==

public IloConstraint operator==(IloNumExprArg base, IloNumExprArg expr)
public IloRange operator==(IloNumExprArg base, IloNum val)
public IloRange operator==(IloNum val, IloNumExprArg eb)
Definition file: ilconcert/ilolinear.h
Overloaded C++ operator.

This overloaded C++ operator constrains its two arguments to be equal. In order to be taken into account, this constraint must be added to a model and extracted for an algorithm.


operator==

public IloBool operator==(const IloNumToNumStepFunction f1, const IloNumToNumStepFunction f2)
Definition file: ilconcert/ilonumfunc.h
Overloaded operator tests equality of numeric functions.

This operator returns IloTrue if the functions f1 and f2 are the same. That is, IloTrue is returned if they have the same definition interval and if they have the same value over time. Note that it compares the content of the functions as well as the equality of implementation pointer. See also: IloNumToNumStepFunction.