help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Emulating the AMPL ord() function


From: Jason Foster
Subject: Re: [Help-glpk] Emulating the AMPL ord() function
Date: Tue, 30 Dec 2014 22:44:17 +0000

> While I understand your question, in the example that you gave do you really 
> need ord(i) < ord(j), or can you suffice with  i < j  (which seems to work 
> with your example)?  Often all you need is any consistent ordering and not 
> necessarily a specific one.

Agree completely.

So ... ummm ... does glpsol / glpk guarantee that for any given param or set 
the "VAR in SET" construct will have a consistent ordering across multiple uses?

Jason

P.S.  Thanks for the reply!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]