[SciPy-user] How to forbid a standard output of OpenOpt solvers

302302 302302@centrum...
Thu Mar 13 07:49:27 CDT 2008


Hi,
I've used linear solver (cvxopt_glpk) from OpenOpt. Can I somehow forbid a printing description of solving problem to the standard output?
I supposed there should be some parameter in the running command, but I can't find any useful documentation with this topic.

example of standard output of th solver:

starting solver cvxopt_glpk (license: GPL v.2)  with problem  unnamed
lpx_simplex: original LP has 135 rows, 51 columns, 755 non-zeros
lpx_simplex: presolved LP has 80 rows, 51 columns, 700 non-zeros
lpx_adv_basis: size of triangular part = 80
      0:   objval =   0.000000000e+00   infeas =   1.000000000e+00 (0)
     56:   objval =   6.888030023e+01   infeas =   0.000000000e+00 (0)
*    56:   objval =   6.888030023e+01   infeas =   0.000000000e+00 (0)
*    86:   objval =   4.104563153e+01   infeas =   0.000000000e+00 (0)
OPTIMAL SOLUTION FOUND
solver cvxopt_glpk has finished solving the problem unnamed
istop:  1000 (optimal)
Solver:   Time Elapsed = 0.01   CPU Time Elapsed = 0.01
objFunValue: 41.0456315344 (feasible, max constraint =  8.88178e-16)


python's executing commands

p = LP(f, A=A, b=b, lb=lb, ub=ub)
r = p.solve('cvxopt_glpk')

Thanks Cz



More information about the SciPy-user mailing list