<br><font size=2 face="sans-serif">Dear Fulvio</font>
<br>
<br><font size=2 face="sans-serif">My humble apologies for the documentation.
&nbsp;Please continue to study SMI and C++! &nbsp;Perhaps you can contribute
some documentation as you go along... :-)</font>
<br>
<br><font size=2 face="sans-serif">The hierarchy is very flat. &nbsp;The
SmiScnModel class encapsulates the relationship between an OsiSolverInterface
and the SmiScenarioTree&lt;SmiNode&gt; class. &nbsp;The SmiScenarioTree
is just a tree with interfaces that allow one to add a &quot;path to leaf&quot;
to the tree. &nbsp; SmiScenario&lt;SmiNode&gt; is a tree with data elements
that are SmiNodes. &nbsp; SmiNodes implement the &quot;core block-stoch
block&quot; pattern described in the SMPS standard. &nbsp;An SmiScenarioTree&lt;SmiNode&gt;
describes a stochastic program in the SMPS &quot;scenarios&quot; format.
&nbsp;The SmiScnModel class has methods that transform the SmiScenarioTree&lt;SmiNode&gt;
structure into an OSI compatible linear program, and allow for &quot;scenario-stage&quot;
semantics for querying data and solutions.</font>
<br>
<br><font size=2 face="sans-serif">I am thinking of working with SmiScenarioTree
a bit to make it a little easier to post and retrieve data to nodes. &nbsp;Probably
this will take the form of a virtual base class for the post/retrieve functionality.
&nbsp;Does anyone have objections to the fact that SmiScenarioTree is templated?
&nbsp;Should I remove the templating and just use the post/retrieve classes
to manage data?</font>
<br>
<br><font size=2 face="sans-serif">So many questions, so little time.</font>
<br><font size=2 face="sans-serif"><br>
Alan</font>
<br>
<br><font size=2><tt>coin-smi-bounces@list.coin-or.org wrote on 04/06/2005
03:45:18 AM:<br>
<br>
&gt; Hi<br>
&gt; <br>
&gt; I am beginning to use SMI. Since I am new both to object oriented
<br>
&gt; programming and to stochastic programming I have a lot of questions
about <br>
&gt; SMI. Just start with one.<br>
&gt; <br>
&gt; Looking at the automatic documentation, the class hierarchy is quite
weak <br>
&gt; and the SmiScnModel class does not appear at all. I guess that the
<br>
&gt; SmiScnModel class should stay on the top of a diagram under which
I will <br>
&gt; put SmiScnData and SmiDiscreteDistribution classes.<br>
&gt; Is this correct or am I wrong (and will study more SMI and C++)?<br>
&gt; <br>
&gt; Thanks for your answers.<br>
&gt; <br>
&gt; Before posting this message I give a look at the SMI mailing list
archive. <br>
&gt; I don't know why but I did not receive all the messages, so I read
only <br>
&gt; today about the proposal of implementing the first example in Birge
and <br>
&gt; Louveaux book. It is exactly what I am doing, so I can post the SMPS
<br>
&gt; files and the code to solve the model starting from them in my next
email.<br>
&gt; <br>
&gt; &nbsp; Fulvio<br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; Coin-SMI mailing list<br>
&gt; Coin-SMI@list.coin-or.org<br>
&gt; http://list.coin-or.org/mailman/listinfo/coin-smi<br>
</tt></font>