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

dmitrey dmitrey.kroshko at scipy.org
Thu Mar 13 12:54:11 EDT 2008


hi,
try using p.iprint=0 (final output only) and moreover p.iprint <0 (no 
output)

Regards, D.

302302 wrote:
> 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
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
>
>
>   




More information about the SciPy-User mailing list