artofscience / SAOR

Sequential Approximate Optimization Repository
GNU General Public License v3.0
5 stars 1 forks source link

Package layout #1

Closed MaxvdKolk closed 3 years ago

MaxvdKolk commented 3 years ago

This adds the basic package layout for sao as

sao/
  sao/...
  tests/...

where the sao subdirectory contains the Python package and its subpackages. This allows importing the functionality as from sao.problems.rosenbrock import Rosenbrock etc. Additionally, the tests/ directory provides tests functionality of the code that can be evaluated with pytest tests/.

Moreover, it introduced basic abstract classes for the Response and Problem definitions.

MaxvdKolk commented 3 years ago

This is probably ready to merge into dev to experiment with this design of the response functions and optimisation problem formulations.

@artofscience feel free to merge if OK.