jump-dev / Pajarito.jl

A solver for mixed-integer convex optimization
Mozilla Public License 2.0
131 stars 22 forks source link

default output depends on subp vs sep cuts? #369

Closed mlubin closed 7 years ago

mlubin commented 7 years ago

See https://github.com/JuliaOpt/Pajarito.jl/issues/368. The solver PajaritoSolver(mip_solver=CplexSolver(CPX_PARAM_SCRIND=0),cont_solver=ECOSSolver(verbose=0),prim_cuts_assist=false) prints the full timing and diagnostic info, while PajaritoSolver(mip_solver=CplexSolver(CPX_PARAM_SCRIND=0),prim_cuts_only=true,solve_relax=false,solve_subp=false) does not.

chriscoey commented 7 years ago

so what's happening here is that, when we do the warning about the gap being negative, we by default switch to printing full diagnostic info. when we don't detect the negative gap and warn, we don't print extra info.

mlubin commented 7 years ago

Ok, makes sense.

mlubin commented 7 years ago

Actually, what about printing a small message in this case indicating that full diagnostic info will be displayed?

chriscoey commented 7 years ago

OK PR #374 will do this