[Top][All Lists]

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

Re: [Help-glpk] Strange Error with if/then/else

From: Jonathan Klein
Subject: Re: [Help-glpk] Strange Error with if/then/else
Date: Mon, 07 Apr 2008 15:23:48 +0000
User-agent: Thunderbird (Windows/20080213)

This assumes that Student_Choice[i,j] is not a variable, among other things.
There is no logical reason why variables can't appear in if-expressions or
in subscripts, it's just that not all modeling languages have evolved to
handle these possibilities.

Bob Fourer

I think, that i know now, why it is impossible to have varaibles in
All the parameters of a problem are static and wont change during
calculation. So if you load an MathProg Problem, it is translated into
conditions for glpk. During "compilation" the proramm can decide the
result of an if-expression, but glpk itself has no support for if
For me, this makes sense and is absolutly logical.

Jonathan Klein

reply via email to

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