Skip to main content
FRAMES NO FRAMES

IloGoalTrue

public IloGoal IloGoalTrue(const IloEnv)
Definition file: ilcp/cp.h
Include file: <ilcp/cp.h>
Returns a goal that always succeeds.

This function creates and returns a goal that always succeeds. It is one of the predefined building blocks (or search primitives) in a custom search .

This function returns an instance of IloGoal for use with the member function IloCP::startNewSearch. An instance of IloCP extracts the goal that it returns as an instance of IlcGoal for use during a custom search.

See Also: