brocksam / pycollo

General-purpose optimal control, trajectory optimisation and parameter optimisation using direct collocation
https://brocksam.github.io/pycollo/
MIT License
8 stars 3 forks source link

Pycollo does not throw an error when a variable is added as both a state and control variable #49

Open samphillips38 opened 2 years ago

samphillips38 commented 2 years ago

When a variable is added to both the state_variables and control_variables lists, no error will be reported and Pycollo will attempt to solve the problem.