artofscience / SAOR

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

A fresh look at the solver/optimizer structure #88

Closed artofscience closed 2 years ago

artofscience commented 2 years ago

This PR proposes a new structure for the solvers. Based on the variance in required inputs from solvers and the limited overlap a separate "solver" class seems obsolete, hence transition to function with agreement on the first two inputs:

  1. problem (either problem of subproblem)
  2. x0 (initial design)

Take a look at the example file for usage.