The real question is problem 55 on
Problem 18
I'm just have A LOT of problem applying this to LINGO
Hi, can someone please help me with the formulation of my LINGO program, because I keep getting "error code 24: invalid set name".
Well the question is to maximise the dollar value of the currency holdings at the end of the day. The tables are set out below.
And my code is
MODEL:
MIN = @SUM (SET1: Conversion (I)*Beginning));
SETS:
SET1 /Dollar, Pounds, Marks, Yen/: Beginning, Ending, Conversion;
ENDSETS
DATA:
Beginning = 8, 1, 8, 0;
Ending = 6, 3, 1, 10;
Coversion = 1, .58928, 1.743, 138.3,
1.697, 1, 2.9579, 234.7,
.57372, .33808, 1, 79.346,
.007233, .00426, .0126, 1;
ENDDATA
END
And btw, I've already solved this through excel, but i have no idea what to do with lingo.. Please help me
The real question is problem 55 on
Problem 18
I'm just have A LOT of problem applying this to LINGO