I have a model (the LP mentioned in my earlier post), that, when solved from Julia, logs indicate that Gurobi uses a primal simplex algorithm, but when I dump the MPS and solve it from the command-line,
gurobi_cl uses a barrier algorithm (and solves about 3 times faster).
I’m not aware of setting any solver attributes that might influence its choice of method. (It’s just
M = Model(Gurobi.Optimizer)), but I might be doing something else that causes this?
As far as I can tell from searching Gurobi.jl, there’s no code in there that sets
Method, so I’m not sure where it’s happening. Is there an undocumented
get_solver_attribute equivalent to
set_solver_attribute that might allow me track
Model and see if it’s getting changed?