|
From: | Daniel Reckhard |
Subject: | Re: [Help-glpk] Sorting Vars? |
Date: | Sat, 09 Feb 2008 19:21:52 +0100 |
User-agent: | Thunderbird 2.0.0.9 (Windows/20071031) |
First of, thank you Michael. Michael Hennebry wrote:
You had me hoping for a moment. But I just checked with a simple for loop, vars are returned in the same 'order'. So I guess I'm back to square one.Unless the documentation says so, I wouldn't assume that lpx_print_prob prints in index order.
Seems that's what I'll have to do, too. The bad thing is once your problems are significantly advanced it's a _lot_ more code with that basic API in C than it would be in any modelling language. I'm already looking forward to changing something then... NOT. :)Difficulties like yours are the reason I usually access solvers through their APIs instead of a modelling language.
Cheers, -- Daniel
[Prev in Thread] | Current Thread | [Next in Thread] |