Gurobi Matlab (Warning: Solver not applicable (gurobi does not support signomial constraints)
回答済みI am currently facing the problem of gurobi does not support signomial constraints.
These are the line of codes that cause this issue.
const=[const, interp1(FC.PowerData, FC.hcData, FC.P, 'milp')<=FC.hc <= (1200/sum(FC.Pflag.*repmat(scenario.duration,nFc,1)))];
I got the code to work before adding "FC.Pflag.*" into the constraint, and the FC.Pflag is declared as 22x1 binvar as a design variable.
I read that this can be modeled to solve this issue but I do not know how to do so.
Would appreciate the help and assistance for this! Thank you in advance!
0
-
I am using Matlab for this! Hoping to seek an answer for this!
0 -
Gurobi does not support trigonometric functions directly. You can use Gurobi's piecewise-linear approximation feature to approximate \(\sin\) and \(\cos\) functions. You can use this feature via the genconcos and genconsin fields in the Gurobi MATLAB model argument.
0
サインインしてコメントを残してください。
コメント
2件のコメント