source: html/userguide/ch02.html @ 2182

Last change on this file since 2182 was 966, checked in by ddelanu, 16 years ago

Temporary version, trying to fix problems in server change, real release to follow

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.0 KB
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 2. 
2  Basic Model Classes
3  </title><meta name="generator" content="DocBook XSL Stylesheets V1.66.1"><link rel="start" href="index.html" title="CLP User Guide"><link rel="up" href="index.html" title="CLP User Guide"><link rel="prev" href="ch01s02.html" title="
4  Prerequisites
5  "><link rel="next" href="ch02s02.html" title="
6  First Example
7  "></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 2. 
8  Basic Model Classes
9  </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01s02.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ch02s02.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="basicmodelclasses"></a>Chapter 2. 
10  Basic Model Classes
11  </h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="ch02.html#hierarchy">
12  Hierarchy
13  </a></span></dt><dt><span class="section"><a href="ch02s02.html">
14  First Example
15  </a></span></dt><dt><span class="section"><a href="ch02s03.html">
16  Getting at the Solution
17  </a></span></dt><dt><span class="section"><a href="ch02s04.html">
18  Building and Modifying a Model
19  </a></span></dt><dt><span class="section"><a href="ch02s05.html">Tolerances</a></span></dt><dt><span class="section"><a href="ch02s06.html">Some Useful Set and Get Methods</a></span></dt><dt><span class="section"><a href="ch02s07.html">
20  Simplex-specific Methods
21  </a></span></dt><dt><span class="section"><a href="ch02s08.html">
22  Presolve
23  </a></span></dt><dt><span class="section"><a href="ch02s09.html">Status Array</a></span></dt></dl></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="hierarchy"></a>
24  Hierarchy
25  </h2></div></div></div><p>
26  The basic CLP model class hierarchy is simple.  The top three levels of the
27  hierarchy are depicted in the figure below. The first two levels  (i.e.
28  <tt class="classname">ClpModel</tt>, <tt class="classname">ClpSimplex</tt>,
29  <tt class="classname">ClpInterior</tt>) contain all the problem data which define
30  a model (that is, a problem instance). The third level contains most of the
31  algorithmic aspects of CLP.  There is a fourth level (for models with more general
32  objectives than linear ones), but a description of it is beyond the current scope
33  of this document.
34  </p><div class="mediaobject"><img src="figures/clpbasicmodelhier.gif"></div><p>
35  Most Simplex users need only concern themselves with the classes
36  <tt class="classname">ClpModel</tt> and <tt class="classname">ClpSimplex</tt>.  There
37  are algorithm-specific classes which inherit from
38  <tt class="classname">ClpSimplex</tt> (e.g. <tt class="classname">ClpSimplexDual</tt>
39  and <tt class="classname">ClpSimplexPrimal</tt>), but they have no member data and
40  rarely need be visible to the user.  These  classes are cast at algorithm
41  time.  So, for example, after instantiating an object
42  <b class="userinput"><tt>model</tt></b> of type <tt class="classname">ClpSimplex</tt>,
43  a user only need call <b class="userinput"><tt>model.dual()</tt></b> to invoke the dual
44  simplex method.
45  </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch01s02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">
46  Prerequisites
47   </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 
48  First Example
49  </td></tr></table></div></body></html>
Note: See TracBrowser for help on using the repository browser.