IBM ILOG Dispatcher User's Manual > Field Service Solutions > CARP: Visiting Arcs Using Multiple Vehicles > Suggested Answers > Exercise 3

What do the functions IloCouple and IloDecouple do?

Suggested Answer

The functions IloCouple and IloDecouple are used to connect and disconnect a neighborhood to a metaheuristic, in this example, to IloDispatcherGLS. The neighborhood must be coupled to an instance of IloDispatcherGLS, otherwise an exception is thrown when you try to use the instance in the search.