glpk xypron wrote:
Hello Sereh,
the use of GLPK in Octave is described at
http://www.gnu.org/software/octave/doc/interpreter/Linear-Programming.html#Linear-Programming
When calling function
glpk (c, a, b, lb, ub, ctype, vartype, sense, param),
please, set param->msglevel to 2 or 3 and check if the
the output is sufficient.
Consider calling the function time() before and after
calling glpk().
If your problem remains unsolved, please, send a message
to [email protected].
Best regards
Xypron
-------- Original-Nachricht --------
Datum: Thu, 11 Mar 2010 21:12:20 +0300
Von: Serveh Shalmashi <[email protected]>
An: [email protected]
Betreff: [Help-glpk] timing
Hi,
I am using Octave as an interface for GLPK to solve an MIP problem, and
I need to know how much time it spend to solve one optimization
problem and how many iteration or flops it uses to solve the problem.
I already checked the help the only thing I found for time was to add
EXTRA in output of the function I used it but the given output time is
really small and strange but I could not find any thing for number of
iteration.
Can you guide me in that matter?
Bests,
Serveh
hi ,
one more question, what is the precision for extra.time in [xmin, fmin,
status, extra] = glpk (c, a, b, lb, ub, ctype, vartype, s, param)
because for every instance of my MIP problem, I just get zero for time
in a case I get the feasible solution.
bests,
Serveh
_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk