Closed chooron closed 9 months ago
The first three do not support constraints as the error tells you. For the last error with IPNewton it looks like an error in you code, it's hard to tell the cause for that without seeing more of the stacktrace. You'd want to use solvers that support non-linear constraints for your problem. Ipopt might be a good option and NLopt has several options as well
I want to find an algorithm that can be used to solve the reservoir scheduling problem. My problem has some unbalanced constraints, and it appears to be a non-linear problem. However, I've tried several algorithms and haven't been able to find a suitable one to solve this problem. My code is as follows: