ILOG CPLEX 10.2 Getting Started > Tutorials > Callable Library Tutorial > How ILOG CPLEX Works > Instantiating the Problem Object

A problem object is instantiated (created and initialized) by ILOG CPLEX when you call the routine CPXcreateprob. It is destroyed when you call CPXfreeprob. ILOG CPLEX allows you to create more than one problem object, although typical applications will use only one. Each problem object is referenced by a pointer returned by CPXcreateprob and represents one specific problem instance. Most Callable Library functions (except parameter setting functions and message handling functions) require a pointer to a problem object.