[Os-project-managers] Interpretation question about OSoL

Kipp Martin kmartin at chicagobooth.edu
Fri Dec 31 06:25:36 EST 2010


Hi Gus:
> 
> I am working through the fine points of the parser implementation and  
> have a question about interpretation.
> 
> What should happen in each of the following two cases?
> 
> <initialObjectiveBounds numberOfObj="2">
>      <obj idx="-1">
>      <obj idx="-2" lbValue="">
> </initialObjectiveBounds>
> 
> I think in the first case the lower bound should be -INF (the default  
> value), but I am not sure about the second. Should it be flagged as an  
> error? Or should it be OSNAN?

I think an error. I think with high probability, that if there is an 
lbValue="", then the user actually MEANT for a value to be there and 
should be made aware of the fact (by an error) that it is empty.

Cheers


> 
> The reason why I am asking is that I have gotten into the habit of  
> parsing attributes that occur more than once using a common code, and  
> there are other occasions when lbValue is returned as a string, not a  
> double as is the case here. As a result, I would have to recognize  
> this case separately.
> 
> Any opinions?
> 
> Thanks
> 
> gus
> 
> _______________________________________________
> Os-project-managers mailing list
> Os-project-managers at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/os-project-managers


-- 
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



More information about the Os-project-managers mailing list