FRAMES NO FRAMES

operator>

public IloConstraint operator>(IloNumExprArg base, IloNumExprArg base2)
public IloConstraint operator>(IloNumExprArg base, IloNum val)
public IloConstraint operator>(IloNum val, IloNumExprArg eb)
public IloConstraint operator>(IloIntExprArg base, IloIntExprArg base2)
public IloConstraint operator>(IloIntExprArg base, IloInt val)
public IloConstraint operator>(IloInt val, IloIntExprArg eb)
Definition file: ilconcert/ilolinear.h
overloaded C++ operator

This overloaded C++ operator constrains its first argument to be strictly greater than 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 IlcConstraint operator>(const IlcIntExp exp1, const IlcIntExp exp2)
public IlcConstraint operator>(const IlcIntExp exp1, IlcInt exp2)
public IlcConstraint operator>(IlcInt exp1, const IlcIntExp exp2)
Definition file: ilsolver/ilcint.h
Include file: <ilsolver/ilosolver.h>

This operator creates and returns an inequality constraint between its arguments (that is, the first must be strictly greater than the second).

When its arguments are constrained integer expressions, then when you post it, this constraint is associated with the whenRange propagation event.

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

See Also:


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 a greater-than 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 threshold value. The semantics of the new predicate are a greater-than comparison. The first function creates a predicate which returns IloTrue if and only if the value returned by the left evaluator is greater than 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 greater than the threshold value. The third function creates a predicate that returns IloTrue if and only if the threshold value is greater than the value returned by the right evaluator.

For more information, see Selectors.


operator>

public IlcBool operator>(const IlcRevFloat & rev, IlcFloat value)
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>(IlcFloat value, const IlcRevFloat & rev)
public IlcBool operator>(const IlcRevFloat & rev1, const IlcRevFloat & rev2)
Definition file: ilsolver/basic.h
Include file: <ilsolver/ilosolver.h>

This operator compares its arguments; if the first argument is strictly greater than the second, then it returns IlcTrue; otherwise, it returns IlcFalse.

See Also: