[Os-project-managers] Question about mult and incr

Kipp Martin kmartin at chicagobooth.edu
Tue Oct 12 23:01:21 EDT 2010


Hi Gus:

> I start from the vector el=[1 2 3 5 8 8 12 6 5 4]
> 
> Should it be
> 
> <el mult="3" incr="1">1</el>
> <el>5</el>
> <el mult="2">8</el>
> <el>12</el>
> <el mult="3" incr="-1">6</el>
> 
> or
> 
> <el mult="3">1</el>
> <el>5</el>
> <el mult="2" incr="0">8</el>
> <el>12</el>
> <el mult="3" incr="-1">6</el>
> 
> In other words, should the default value for incr be 0 or 1?


Offhand, I can't see any advantage of one over the other. However, I 
don't see anything wrong with making incr a required attribute. This 
would remove any ambiguity and would look MUCH nicer to a human reading 
the file. If it is there, then I don't have to go back and look at the 
schema.

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



More information about the Os-project-managers mailing list