Apr-29-2019, 01:17 AM
(This post was last modified: Apr-29-2019, 01:17 AM by larkypython.)
I used this:
then it is ok to use optimize.minimize
but cannot use
then I tried
it will report error
so the question is: I don't know how to import the Bounds and Linear Constraint module....
Please help out, thanks!
from scipy import optimize
then it is ok to use optimize.minimize
but cannot use
optimize.Bounds
, cannot use optimize.LinearConstraint
, saying no this modulethen I tried
from scipy.optimize import Bounds
from scipy.optimize import LinearConstraint
it will report error
so the question is: I don't know how to import the Bounds and Linear Constraint module....
Please help out, thanks!