CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Thread: Lp help??

  1. #1
    Join Date
    Mar 2002
    Location
    AhuhA
    Posts
    204

    Lp help??

    I am trying to solve a kind of linear programming's problem using C++compiler. I have to output the minimax (for x co_or) and maximin (for y co_or ) and the expected value at that point(x,y).
    I find that if I solve the problem without using computer computation, I can find out x and the expected value but I cannot find the y value because when I replace x and E by the values I have just found, y can become infinite in some cases.
    Here was just the simpliest case as there were only two variables x and y and I used array[][2] only for the input values.
    So , would you please help me with this problem ? And if I have alot variables, what is the most efficient way for me to solve the problem like this ?

  2. #2
    Join Date
    Sep 2002
    Location
    Singapore
    Posts
    673
    Looks like you have to wait for simon666, maybe he can help you.

    I think it would be easier to solve it, using a Maths software, but Maths softwares have their learning curves too, unless you want to solve it using your own programming efforts.

    P.S. Simon is enjoying his vacation, No one knows when he would be back!

  3. #3
    Join Date
    Nov 2001
    Location
    Beyond Juslibol
    Posts
    1,688
    sorry for my ignorance but What is minimax and maximin? and what is co_or?

  4. #4
    Join Date
    Sep 2002
    Location
    Singapore
    Posts
    673
    I think he meant maxima and minima, and co_or is co-ordinates.

  5. #5
    Join Date
    Mar 2002
    Location
    AhuhA
    Posts
    204

    Post Doctor LUZZZ

    No it s not maxima and minima, the maximum value among minima 'll called maximin and the minimum one among maxima 'll be called minimax.

  6. #6
    Join Date
    Nov 2001
    Location
    Beyond Juslibol
    Posts
    1,688
    And what is the expected value at (x,y)?

  7. #7
    Join Date
    Mar 2002
    Location
    AhuhA
    Posts
    204

    Doctor luz Doctor luz Doctor luz

    Expected value is the value of expectation or the value being expected. ?!?!?!

    Okay, EXPECTed value is just the same as that used in statistics and probability theory. Any instructions ? plzzzzzzzzzzz!!!!!!













    ps: to doctor LUZ
    Everytime I see your name in these forums, I remember the song Doctor Jones by Aqua. Kewt anyway. I love it.

    I meant the song not your name.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured