To terminate a tuning session, you can use one of the following means:
-
In the C++ API, pass an instance of the class
IloCplex::Aborter
to an instance of IloCplex
. Then call the method IloCplex::Aborter::abort
to terminate the tuning session.
-
In the Java API, pass an instance of the class
IloCplex.Aborter
to an instance of IloCplex
. Then call the method IloCplex.Aborter.abort
to terminate the tuning session.
-
In the .NET API, pass an instance of the class
Cplex.Aborter
to an instance of Cplex
. Then call the method Cplex.Aborter.Abort
to terminate the tuning session.
-
In the Callable Library (C API), call the routine CPXsetterminate to 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 ILOG CPLEX will terminate the tuning session.