Overview | Group | Tree | Graph | Index | Concepts |
This class offers iterative improvement method (IIM) management
facilities in much the same way as the IloSolver
class
does for pure constraint programming. This class is created from
a solver and has the same life cycle as the solver.
See Also:
IloNeighborIdentifier, IlcNeighborIdentifier
Constructor Summary | |
---|---|
public | IloIIM(IloSolver solver) This constructor builds an IIM management class from a solver. |
Method Summary | |
---|---|
public IloSolution | getAtDelta(const IloNeighborIdentifier nid) const
This member function returns the solution delta of the neighbor
accepted in the local search using neighbor
identifier |
public IloInt | getAtIndex(const IloNeighborIdentifier nid) const
This member function returns the index of the neighbor
accepted in the local search using neighbor
identifier |
public IlcNeighborIdentifier | getNeighborIdentifier(const IloNeighborIdentifier nid) const
This member function returns the neighbor identifier
extracted from |
public IloSolver | getSolver() const Delivers the solver passed at construction time. |
Constructor Detail |
---|
This constructor builds an IIM management class from the solver solver
.
The life cycle of the constructed class will be equivalent to
that of the solver. When the solver is destroyed, the IIM
management object must no longer be used. If more than
one instance of IloIIM
is created on the same solver,
then these instances will share the same implementation pointer.
Method Detail |
---|
nid
.
This member function returns the solution delta of the neighbor
accepted in the local search using neighbor
identifier nid
. The solution delta is specified
by the neighborhood and is the set of extractables which change value
together with their new values. This is equivalent to
return getNeighborIdentifier(nid).getAtDelta()
;
The returned delta does not belong to the user, but the neighborhood
identifier itself: end()
must not be called on it.
nid
.
This member function returns the index of the neighbor
accepted in the local search using neighbor
identifier nid
. This is equivalent to
return getNeighborIdentifier(nid).getAtIndex()
;
nid
.
This member function returns the neighborhood identifier used inside
search which is extracted from the neighborhood identifier nid
used for search specification.
This member functions returns the solver passed at construction time.