solve system of nonlinear equations+Matlab – Gurobi Support ...
support.gurobi.com › hc › en-usFrom the documentation, you need to additionally define the linear term for each of the quadratic constraints. This can be done by modifying the m.quadcon(i).q field. Some sample code to solve your nonlinear system is below. It doesn't include an objective function. % Define data qrow = [1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3];