• Gurobi Staff

Hi,

I don't think "setparams!" is part of the JuMP API any more, although I can't figure in which version it was removed. The appropriate functions are "set_optimizer_attribute" (a general JuMP function) or "Gurobi.GRBsetintparam" (part of Gurobi.jl for interacting directly with the solver API).

After change to Gurobi.GRBsetintparam. It occurs another problem in the following picture.

How could I fix this?

Did anyone know where my problem is?

• Gurobi Staff

GRBsetintparam is a function, not a macro, so it requires a different syntax. Try the following:

Gurobi.GRBsetintparam(env, "OutputFlag", 0)

thank you !

It's actually working!!!

thanks a lot