Below is a listing of a number of common CLP tasks, such as loading a problem from an MPS file, matched with a list of each Sample file which illustrates the performance of a given task.
Table 4.4. Contents of the Samples directory
| CLP Task(s) | Method(s) | Sample(s) | 
|---|---|---|
| Read problem from MPS file | 
	 int readMps(const char *filename)  | defaults.cpp, driver.cpp, minimum.cpp | 
| Solve by primal method | 
	 int primal()  | driver.cpp | 
| Choose pivot rule | 
	 void setPrimalColumnPivotAlgorithm(ClpPrimalColumnPivot &choice)  | defaults.cpp | 
| Get/set infeasibility cost | 
	 void setInfeasibilityCost(double value)  | defaults.cpp | 
| Get string/"double"/integer information | 
	 bool getStrParam(ClpStrParam key, std::string &value) const  | defaults.cpp | 
| Set maximum number of iterations | 
	 void setMaximumIterations(int value)  | defaults.cpp | 
| Check solution status | 
	 int status() const  | |