[Os-project-managers] A modest proposal
R. Kipp Martin
kmartin at chicagobooth.edu
Thu Sep 15 00:33:18 EDT 2011
Hi Guys:
Here is one possible approach:
1) I do not favor an OSAmpl2OSxL. I prefer to keep separate classes.
OSnl2osil and OSnl2osol. I am not bothered by reading an nl file twice.
2) Write an OSnl2osol class. This class would do the following:
a) have a method readOSoL that would read an existing OSoL file and
create an OSOption object. If no such file exists, we simply new an OSoL
file with nothing.
b) Read the nl file.
c) I think we initially support a predetermined set of suffixes. We get
these suffixes using ASL. We first (order does not matter) get the
suffixes we support associated with variables and write a method to put
these in the existing OSoL file in the correct location. We can do this
since we know the suffix. Then follow with rows and then the objective
function.
Doing 2 above would greatly increase our AMPL functionality.
Cheers
--
Kipp Martin
Professor of Operations Research
and Computing Technology
Booth School of Business
University of Chicago
5807 South Woodlawn Avenue
Chicago, IL 60637
773-702-7456
kmartin at chicagobooth.edu
http://www.chicagobooth.edu/faculty/bio.aspx?person_id=12825325568
http://projects.coin-or.org/OS
Sent without Blackberry, Droid, iPhone, or any other
wireless device.
--
More information about the Os-project-managers
mailing list