Re: [Help-glpk] min() & max() functions alternatives to use non numeric parameters

2011-04-28 Thread Suleyman Demirel
x4 >. . . > > Note that max(x, y) = -min(-x, -y) that allows you to model objective > terms -max(x, y) thru min. > > > > ___ > Help-glpk mailing list > Help-glpk@gnu.org > https://lists.gnu.org/mailman/listinfo/help-glpk > -- _

Re: [Help-glpk] min() & max() functions alternatives to use non numeric parameters

2011-04-27 Thread Suleyman Demirel
; /* Constraints */ > > # > > s.t. a: ScorteIniziali - ScorteIniziali+PrimoStd+PrimoStra-120 + > > SecondoStd+SecondoStra-310 + TerzoStd+TerzoStra-180 + > > QuartoStd+QuartoStra-120 <= 0; > > end; > > > > > > -- > View this message in context: > http://old.na

Re: [Help-glpk] min() & max() functions alternatives to use non numeric parameters

2011-04-27 Thread Suleyman Demirel
p31489922p31489922.html > Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com. > > > _______ > Help-glpk mailing list > Help-glpk@gnu.org > https://lists.gnu.org/mailman/listinfo/help-glpk > -- __

Re: [Help-glpk] Option to set to generate all solutions

2011-04-12 Thread Suleyman Demirel
_ > Help-glpk mailing list > Help-glpk@gnu.org > http://lists.gnu.org/mailman/listinfo/help-glpk > > -- _________ Sent via my good, old desktop. _ Suleyman Demirel - Office: (734) 647-3167 PhD C

Re: [Help-glpk] Subject to two conditions

2010-11-10 Thread Suleyman Demirel
> "operand preceding <= has invalid type" > > Any idea? > > Thank you, > Joao > > ___ > Help-glpk mailing list > Help-glpk@gnu.org > http://lists.gnu.org/mailman/listinfo/help-glpk > -- _ Suleyman Demirel - Office: (

Re: [Help-glpk] Special key in csv output

2010-10-21 Thread Suleyman Demirel
e csv and dbf table > drivers for input tables. In particular, you may use an auxiliary model > that reads the csv file using RECNO and writes complete data to another > csv file. > > > ___ > Help-glpk mailing list > Help-glpk@gn

Re: [Help-glpk] GNU MathProg Question

2010-10-15 Thread Suleyman Demirel
> > > > In Ampl, I was able to define a variable as usual ( var counter, > > integer;) and update its value via let command (let counter:=counter > > +1). > > > > I will appreciate if you could help me on this. > > param counter := sum{i in Relevant Set: i > 100} 1

[Help-glpk] GNU MathProg Question

2010-10-15 Thread Suleyman Demirel
nks -- _____ Suleyman Demirel - Office: (734) 647-3167 PhD Candidate in Operations Management Stephen M. Ross School of Business University of Michigan, Ann Arbor Web: http://www.umich.edu/~sdemi