Terminating a tuning session
Describes facilities to end a tuning session.
To terminate a tuning session, you can use one of the following means:
In the C++ API, pass an instance of the class
IloCplex::Aborterto an instance ofIloCplex. Then call the methodIloCplex::Aborter::abortto terminate the tuning session.In the Java API, pass an instance of the class
IloCplex.Aborterto an instance ofIloCplex. Then call the methodIloCplex.Aborter.abortto terminate the tuning session.In the .NET API, pass an instance of the class
Cplex.Aborterto an instance ofCplex. Then call the methodCplex.Aborter.Abortto terminate the tuning session.In the Callable Library (C API), call the routine
CPXsetterminateto set a pointer to the termination signal. Initially, the value of the termination signal should be zero. When your application sets the termination signal to a nonzero value, then CPLEX will terminate the tuning session.