FRAMES NO FRAMES

IloChangeValue

public IloNHood IloChangeValue(IloEnv env, IloIntVarArray vars, IloInt min, IloInt max, const char * name=0)
Definition file: ilsolver/iimnhood.h
Include file: <ilsolver/iimls.h>

This function returns a neighborhood that can be used to change the value of one variable in vars within the range min and max.

The neighborhood changes the value of a single variable in vars to a new value in the range min to max. Specifically, for each variable/value pair in vars, and in the range [min, max], there is a neighbor in the neighborhood that sets the variable to that value. The optional argument name, if supplied, becomes the name of the returned neighborhood.

See Also: