csu-hmc / opty

A library for using direct collocation in the optimization of dynamic systems.
http://opty.readthedocs.io
Other
86 stars 20 forks source link

Make primary functions and classes available in the opty namespace #165

Open moorepants opened 1 week ago

moorepants commented 1 week ago
In [1]: import opty

In [2]: opty.Problem
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[2], line 1
----> 1 opty.Problem

AttributeError: module 'opty' has no attribute 'Problem'

We should define an __all__ in opty.__init__.