Another solver tweak
This commit is contained in:
@ -115,8 +115,8 @@ class ConstraintSolver(object):
|
|||||||
res = minimize(
|
res = minimize(
|
||||||
self._cost(),
|
self._cost(),
|
||||||
x0,
|
x0,
|
||||||
method="BFGS",
|
method="L-BFGS-B",
|
||||||
options=dict(disp=True, ftol=1e-6, maxiter=500),
|
options=dict(disp=True, ftol=1e-9, maxiter=1000),
|
||||||
)
|
)
|
||||||
|
|
||||||
x = res.x
|
x = res.x
|
||||||
|
|||||||
Reference in New Issue
Block a user