Open jtheinen opened 1 year ago
problem = pycollo.OptimalControlProblem(
name= "hello",)
problem.scaling
AttributeError: 'EndpointScaling' object has no attribute '_ocp'
problem = pycollo.OptimalControlProblem( name= "hello",) problem.mesh_iterations
https://github.com/brocksam/pycollo/blob/5d3b5540d1e6ca4ad3939a7f5f69077b92b3d2df/pycollo/optimal_control_problem.py#L292-L294 AttributeError: 'OptimalControlProblem' object has no attribute '_mesh_iterations'
OCP.number_parameter_variables
https://github.com/brocksam/pycollo/blob/5d3b5540d1e6ca4ad3939a7f5f69077b92b3d2df/pycollo/optimal_control_problem.py#L219-L221
Problem
There is no return function and the ._s_var_user is always an NamedTuple.
Solution