FRAMES NO FRAMES

IlcMTMinimizeVar

public IlcSearchSelector IlcMTMinimizeVar(IloSolver solver, IlcIntVar v, IlcInt step=1)
public IlcSearchSelector IlcMTMinimizeVar(IloSolver solver, IlcFloatVar v, IlcFloat step=1e-4)
Definition file: ilsolver/search.h
Include file: <ilsolver/ilosolver.h>

This function creates and returns a search selector that implements a minimization search for multithreaded search according to the variable v.

If a variable v appears in more than one agent (that is, more than one worker), then every copy of the variable v must have the same name.

The search selector that this function creates and returns does several things:

Implementation

Here we describe important parts of the implementation of this function because it returns an instance of IlcSearchSelector. If you implement your own search selector, then these implementation details may help you determine how your search selector is likely to be used and how it should be implemented.

This function works with the implementation class IlcMTMinimizeIntVarI for constrained variables that are instances of IlcIntVar. The implementation class IlcMTMinimizeIntVarI is a subclass of IlcMTSearchSelectorI. The multithread class IlcMTMinimizeIntVarI differs from its sequential correspondent IlcMinimizeIntVarI in the following ways:

See Also: