Hi Gayan,

It's unclear where you try setting these parameters. These are valid Gurobi parameters and you need to set them when solving the model:

params.NonConvex = 2;...result = gurobi(model, params);

You should check the gurobi.log file to see what happened.

Cheers,
Matthias

I just realized that you are using Gurobi 8.0 and those parameters were not available back then. Please update your Gurobi installation to use those parameters.

Cheers,
Matthias