FRAMES NO FRAMES

IloGoalTrue

public IloGoal IloGoalTrue(const IloEnv env)
Definition file: ilsolver/ilosolverint.h
Include file: <ilsolver/ilosolver.h>

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

This function returns an instance of IloGoal for use with the member functions IloSolver::startNewSearch and IloSolver::solve. An instance of IloSolver extracts the goal that it returns as an instance of IlcGoal for use during a Solver search.

See Also: