[Os-project-managers] OSoL Problem

Horand Gassmann Horand.Gassmann at Dal.Ca
Sat Sep 25 11:29:03 EDT 2010


Horand Gassmann <Horand.Gassmann at dal.ca> wrote:

> Kipp Martin <kmartin at chicagobooth.edu> wrote:
>
>> Hi Guys:
>>
>> I am getting ready to actually implement some large examples in the OS
>> Dip solver and I realize there are still OSoL issues. For example, lets
>> say I want to specify variables in a block. Right now, here is how I do it:
>>
>> <other name="variableBlockSet" solver="Dip" numberOfVar="6"
>> value="OSDipBlockCoinSolver">
>> 	<var idx="10"/>
>> 	<var idx="11"/>
>> 	<var idx="12"/>
>> 	<var idx="13"/>
>> 	<var idx="14"/>
>> 	<var idx="17"/>
>> </other>
>>
>> Well guess what, in my example I would like to index variables 0 -
>> 1,000,000. So it looks like I have to write out a <var> a MILLION
>> times!!! Argle bargle. Maybe I am missing something? But we don't have a
>> mult and inc here, correct?
>>
>> Any suggestions???
>
> Off the top of my head:
>
>   <other name="variableBlockSet" solver="Dip" numberOfVar="6"
>   value="OSDipBlockCoinSolver">
>   	<varIdx mult="5">10</varIdx>
>   	<varIdx>17</varIdx>

Or better even, especially considering Kipp's last message (but maybe  
he figured that out himself):

    <other name="variableBlockSet" solver="Dip" numberOfEnumerations="1"
    value="OSDipBlockCoinSolver">
        <enumeration numberofEl="6" value="varIdx">
    	<el mult="5">10</el>
    	<el>17</el>
        </enumeration>

This uses only existing constructs.

Cheers

gus



More information about the Os-project-managers mailing list