[Osi] virtual CoinWarmstart* OsiCpxSolverInterface::getWarmStart() const: Assertion `!probtypemip_` failed

Christophe-Marie Duquesne chm.duquesne at gmail.com
Tue May 18 08:43:24 EDT 2010


Thanks!

On Tue, May 18, 2010 at 2:41 PM, Stefan Vigerske
<stefan at math.hu-berlin.de> wrote:
> Hi,
>
> I think that is correct.
> I fixed it in trunk and will merge it into the latest stable.
>
> Stefan
>
> Christophe-Marie Duquesne schrieb:
>> Hi,
>>
>> In OsiSolverInterface::getWarmStart(), of which specification is:
>>
>> "Return warm start information for the current state of the solver
>> interface. If there is no valid warm start information, an empty warm
>> start object wil be returned."
>>
>> When using cplex, the assertion `!probtypemip` fails for me. I guess
>> that would be because my problem is a MIP, but shouldn't this method
>> return an empty warm start object instead? For example instead of
>>
>> assert (!probtypemip_);
>>
>> at OsiCpxSolverInterface.cpp:679,
>>
>> there could be something like
>>
>> if (!probtypemip_)
>>   {
>>     // return an empty warmstart object
>>   }
>>
>> What do you think?
>>
>> Cheers,
>> Christophe-Marie Duquesne
>>
>> PS: Let me know if you want me to file a ticket.
>>
>> _______________________________________________
>> Osi mailing list
>> Osi at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/osi
>>
>
>
> --
> Stefan Vigerske
> Humboldt University Berlin, Numerical Mathematics
> http://www.math.hu-berlin.de/~stefan
>



-- 
Christophe-Marie Duquesne
06 84 14 26 82 - mobile
04 76 57 48 06 - g-scop
04 97 23 27 33 - amadeus





More information about the Osi mailing list