FRAMES NO FRAMES

operator+

public IloMetaHeuristic operator+(IloMetaHeuristic mh1, IloMetaHeuristic mh2)
Definition file: ilsolver/iimmeta.h
Include file: <ilsolver/iimls.h>

This operator creates a combined metaheuristic. A combined meta-heuristic filters moves at least as strongly as either mh1 or mh2 alone. In fact, a proposed move is rejected by the resulting metaheuristic if eithermh1 or mh2 would reject the move.

More specficially, for the newly created metaheuristic, all the following member functions call the corresponding member functions on mh1 and mh2 with the same parameters: reset, start, isFeasible, test, notify, complete.

With respect to return values, start, isFeasible and test return a true value if and only if both mh1 and mh2 return true values. complete returns a true value if and only if one or both of mh1 and mh2 return a true value.

See Also:


operator+

public IlcFloatExp operator+(const IlcFloatExp exp1, IlcFloat exp2)
public IlcIntExp operator+(const IlcIntExp exp1, IlcInt exp2)
public IlcIntExp operator+(IlcInt exp1, const IlcIntExp exp2)
public IlcIntExp operator+(const IlcIntExp exp1, const IlcIntExp exp2)
public IlcFloatExp operator+(IlcFloat exp1, const IlcFloatExp exp2)
public IlcFloatExp operator+(const IlcFloatExp exp1, const IlcFloatExp exp2)
public IlcIntToIntStepFunction operator+(const IlcIntToIntStepFunction & f1, const IlcIntToIntStepFunction & f2)
Definition file: ilsolver/linfloat.h
Include file: <ilsolver/ilosolver.h>

This arithmetic operator adds its arguments. It has been overloaded to handle constrained expressions appropriately. The domain of the resulting expression is computed from the domains of the combined expressions as you would expect. For example, the domain of x + y is composed of all the sums of a + b where a ranges over the domain of x and b ranges over the domain of y.

See Also:


operator+

public IloNumToNumStepFunction operator+(const IloNumToNumStepFunction f1, const IloNumToNumStepFunction f2)
Definition file: ilconcert/ilonumfunc.h
Creates and returns a function equal the sum of its argument functions.

This operator creates and returns a function equal the sum of the functions f1 and f2. The argument functions f1 and f2 must be defined on the same interval. The resulting function is defined on the same interval as the arguments. See also: IloNumToNumStepFunction.


operator+

public IloNHood operator+(IloNHood nhood1, IloNHood nhood2)
Definition file: ilsolver/iimnhood.h

This operator creates a concatenated neighborhood and is shorthand for the following code (assuming the result is placed in nhood):

   IloEnv env = nhoods.getEnv();
   IloNHoodArray nhoods(env, 2);
   nhoods[0] = nhood1;
   nhoods[1] = nhood2;
   nhood = IloConcatenate(env, nhoods);
 

See Also:


operator+

public IloNumExprArg operator+(const IloNumExprArg x, const IloNumExprArg y)
public IloNumExprArg operator+(const IloNumExprArg x, IloNum y)
public IloNumExprArg operator+(IloNum x, const IloNumExprArg y)
public IloIntExprArg operator+(const IloIntExprArg x, const IloIntExprArg y)
public IloIntExprArg operator+(const IloIntExprArg x, IloInt y)
public IloIntExprArg operator+(IloInt x, const IloIntExprArg y)
Definition file: ilconcert/iloexpression.h
Returns an expression equal to the sum of its arguments.

This overloaded C++ operator returns an expression equal to the sum of its arguments. Its arguments may be numeric values, numeric variables, or other expressions.


operator+

public IloEvaluator< IloObject > operator+(IloEvaluator< IloObject > left, IloEvaluator< IloObject > right)
public IloEvaluator< IloObject > operator+(IloEvaluator< IloObject > left, IloNum c)
public IloEvaluator< IloObject > operator+(IloNum c, IloEvaluator< IloObject > right)
Definition file: ilsolver/iloselector.h
Include file: <ilsolver/iloselector.h>

These operators create a composite IloEvaluator<IloObject> instance. The semantics of the new evaluator are the addition of the values of the component evaluators. The first function combines two evaluators, adding their values to generate the combined evaluation. The other two signatures add the value returned by the evaluator with an IloNum value.

For more information, see Selectors.