Please help, when i use gurobi to solve the model appears: Gurobi 10.0.1: Error: Objective Q not PSD (negative diagonal entry), what does negative diagonal entry means? and how can i solve this problem? i tried setting nonconvex=2 but it doesn’t work.
Thank you in advance.
Model_S.dat (145.1 KB)
Model_S.mod (2.1 KB)
Model_S.run (137 Bytes)
here the files.
nonconvex=2
should be the value of gurobi_options
:
ampl: option gurobi_options 'nonconvex=2';
ampl: solve;
Gurobi 10.0.2: qp:nonconvex = 2
Gurobi 10.0.2: infeasible or unbounded problem
942 simplex iterations
1 branching nodes
As you can see, the problem is reported infeasible or unbounded.
Set iisfind=1
to ask Gurobi for an IIS or use option feasrelax
(if the problem is infeasible).