Results 1 to 2 of 2

Math Help - LINGO Question Currency Conversion

  1. #1
    Junior Member
    Joined
    Apr 2009
    Posts
    58

    LINGO Question Currency Conversion

    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
    Attached Thumbnails Attached Thumbnails LINGO Question Currency Conversion-optim.jpg  
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Junior Member
    Joined
    Apr 2009
    Posts
    58
    The real question is problem 55 on
    Problem 18

    I'm just have A LOT of problem applying this to LINGO
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Lambda Conversion (alpha and beta conversion)
    Posted in the Discrete Math Forum
    Replies: 1
    Last Post: September 19th 2011, 04:12 AM
  2. Replies: 3
    Last Post: May 10th 2010, 10:33 AM
  3. Way to find variance between 2 currency pairs.
    Posted in the Statistics Forum
    Replies: 2
    Last Post: April 23rd 2010, 05:44 AM
  4. Currency Conversion Question
    Posted in the Algebra Forum
    Replies: 4
    Last Post: February 24th 2010, 11:18 AM
  5. currency exchange problem
    Posted in the Business Math Forum
    Replies: 1
    Last Post: October 13th 2005, 11:09 AM

Search Tags


/mathhelpforum @mathhelpforum