Hello to all
I had been trying to call loop with in loop
I was trying using for loop But i get strange problem
either it can not be defined or so
1.Can we call loops in Math program ?
2:If yes then please give me how to use it in math program ?
#include float.h
#include limits.h
#include
On 06/03/06, Andrew Makhorin [EMAIL PROTECTED] wrote:
I currently have GLPK 4.9 installed and the following CPLEX file:
maximize 1
st
- 2 x1 - 3 x2 = -1
2 x1 + 3 x2 = 1
- 1 x1 - 1 x2 = -4
1 x1 + 1 x2 = 4
bounds
x1 free
x2 free
end
Cplex can read it.
glpsolve:
$ glpsol
I had been trying to call loop with in loop
I was trying using for loop But i get strange problem
either it can not be defined or so
1.Can we call loops in Math program ?
2:If yes then please give me how to use it in math program ?
Look at the example 'queens.mod' included in the glpk
Do someone know how can I stop the solver when it found the first feasible
solution? I´m using the LPX_K_TMLIM parameter, but sometimes it finishes
before it found a solution.
Thanks,
Eduardo Soares.
_
Inscreva-se no programa
Thanks, and is it possible to have it output the solution found?
I searched --help flag but found nothing.
To write the solution into a file for further browsing use the
option '-o filename'.
P.S. Another, more correct way to specify a dummy objective in
cplex lp format is the following: