Wfranc
December 27th, 2002, 08:26 PM
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 ?
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 ?