From piccinon at di.unipi.it Wed Apr 6 03:45:18 2005 From: piccinon at di.unipi.it (Fulvio Piccinonno) Date: Wed, 6 Apr 2005 09:45:18 +0200 (CEST) Subject: [Coin-SMI] About SMI class hierarchy. Message-ID: Hi I am beginning to use SMI. Since I am new both to object oriented programming and to stochastic programming I have a lot of questions about SMI. Just start with one. Looking at the automatic documentation, the class hierarchy is quite weak and the SmiScnModel class does not appear at all. I guess that the SmiScnModel class should stay on the top of a diagram under which I will put SmiScnData and SmiDiscreteDistribution classes. Is this correct or am I wrong (and will study more SMI and C++)? Thanks for your answers. Before posting this message I give a look at the SMI mailing list archive. I don't know why but I did not receive all the messages, so I read only today about the proposal of implementing the first example in Birge and Louveaux book. It is exactly what I am doing, so I can post the SMPS files and the code to solve the model starting from them in my next email. Fulvio From kingaj at us.ibm.com Thu Apr 7 14:46:50 2005 From: kingaj at us.ibm.com (Alan King) Date: Thu, 7 Apr 2005 14:46:50 -0400 Subject: [Coin-SMI] About SMI class hierarchy. In-Reply-To: Message-ID: Dear Fulvio My humble apologies for the documentation. Please continue to study SMI and C++! Perhaps you can contribute some documentation as you go along... :-) The hierarchy is very flat. The SmiScnModel class encapsulates the relationship between an OsiSolverInterface and the SmiScenarioTree class. The SmiScenarioTree is just a tree with interfaces that allow one to add a "path to leaf" to the tree. SmiScenario is a tree with data elements that are SmiNodes. SmiNodes implement the "core block-stoch block" pattern described in the SMPS standard. An SmiScenarioTree describes a stochastic program in the SMPS "scenarios" format. The SmiScnModel class has methods that transform the SmiScenarioTree structure into an OSI compatible linear program, and allow for "scenario-stage" semantics for querying data and solutions. I am thinking of working with SmiScenarioTree a bit to make it a little easier to post and retrieve data to nodes. Probably this will take the form of a virtual base class for the post/retrieve functionality. Does anyone have objections to the fact that SmiScenarioTree is templated? Should I remove the templating and just use the post/retrieve classes to manage data? So many questions, so little time. Alan coin-smi-bounces at list.coin-or.org wrote on 04/06/2005 03:45:18 AM: > Hi > > I am beginning to use SMI. Since I am new both to object oriented > programming and to stochastic programming I have a lot of questions about > SMI. Just start with one. > > Looking at the automatic documentation, the class hierarchy is quite weak > and the SmiScnModel class does not appear at all. I guess that the > SmiScnModel class should stay on the top of a diagram under which I will > put SmiScnData and SmiDiscreteDistribution classes. > Is this correct or am I wrong (and will study more SMI and C++)? > > Thanks for your answers. > > Before posting this message I give a look at the SMI mailing list archive. > I don't know why but I did not receive all the messages, so I read only > today about the proposal of implementing the first example in Birge and > Louveaux book. It is exactly what I am doing, so I can post the SMPS > files and the code to solve the model starting from them in my next email. > > Fulvio > > _______________________________________________ > Coin-SMI mailing list > Coin-SMI at list.coin-or.org > http://list.coin-or.org/mailman/listinfo/coin-smi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://list.coin-or.org/pipermail/smi/attachments/20050407/273c7b9a/attachment.html From kingaj at us.ibm.com Mon Apr 25 18:50:45 2005 From: kingaj at us.ibm.com (Alan King) Date: Mon, 25 Apr 2005 18:50:45 -0400 Subject: [Coin-SMI] The first COIN-OR CORS Users Cup Competition In-Reply-To: Message-ID: COmputational INfrastructure for Operations Research http://www.coin-or.org Announcing the first "COIN-OR CORS Users Cup" competition! The most coveted prize in computational OR --- so coveted in fact that we can't locate the person who took it --- so, we are going to award a new one! Here are the rules: 1) The submission must contain an argument that the submission is a good use-case for COIN-OR. 2) The submission must be an accepted paper at the 2005 CORS meeting, http://myweb.dal.ca/jblake/cors2005/ Submissions will be judged by a committee convened by the CORS Conference program committee. Prize winners will be announced at the CORS 2005 conference. The actual awarding of the COIN-OR CORS Users Cup will take place during a long ceremony at a congenial locale where cups are needed. All entrants and their supporters are welcome to join in the celebration and regal (rile) the prize winners. /** Come on -- enter and try to win! **/ Please send submissions to kingaj at us.ibm.com --- see you at the cup-raising! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://list.coin-or.org/pipermail/smi/attachments/20050425/b7fd3d88/attachment.html