[SciPy-User] A priority of constrains for scipy.optimize.minimize

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[SciPy-User] A priority of constrains for scipy.optimize.minimize


I am solving a problem with some constrains. At first there is a
constraint, that the sum of the percentages must be 1. The single
percentage could be in the range from 0,0 to 1. And this is the main
constraint. On the other side there are some constrains belonging to
stuff of the calculation.  It is possible, that this constrains are to
strong and the solver can't get a solution. In this Case I want to have
an option to get a solution respecting the first constraint.

Has anybody an idea of a solution? I think there is no option for a
priority of the constrains.

kind regards
Jan Hendrik Berlin
SciPy-User mailing list
[hidden email]