vktrbr / optimization_ml

Optimization in ML
MIT License
10 stars 1 forks source link

BUGS #84

Open vktrbr opened 2 years ago

vktrbr commented 2 years ago

Lambdify takes 2 args but 4 was given

2022-05-0

5 10:26:21.678 Uncaught app exception

Traceback (most recent call last):

File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/scriptrunner/script_runner.py", line 443, in _run_script

exec(code, module.__dict__)

File "/app/optimization_ml/Inner_point/streamlit_app.py", line 101, in

solution, history = bound_constrained_lagrangian_method(function.call, x0, constraints, max_iter=100)

File "/app/optimization_ml/Inner_point/algorithms.py", line 87, in bound_constrained_lagrangian_method

constraints[i](x0)

File "/app/optimization_ml/StreamlitSupport/functions.py", line 39, in function_callable

return function_callable_initial(*x)

TypeError: _lambdifygenerated() takes 2 positional arguments but 4 were given