tespy
tespy copied to clipboard
Using a penalty function instead of constrained optimization might be a useful user feature
Right now you can pass constraints to your optimization problem, if the selected algorithm supports it. It would be interesting to be able to select an algorithm that supports unconstrained optimization only, and for that case use a penalty function to transpose your constraint(s) into an unconstrained problem.