Constraints in genopt

asked 2018-10-04 10:57:08 -0500

giovanni's avatar

Dear everyone,

I am using genOpt to perform an optimization of a solar panel. Some parameters are independent of each other, one of them is constrained to another.

Parameter{ Name = dw; Min = 0; Ini = 0.1; Max = 6; Step = 0.1; }

Parameter{ Name = dz; Min = 0; Ini = 0.1; Max = 6-dw; Step = 0.1; }

In other words I have to obtain that : dw+dx<=6. I tried to use axiliary variables but I didn't obtain something that works. Thanks to everyone.

edit retag flag offensive close merge delete