Skip to content

Commit

Permalink
formulation 2a of linecircle, could be any other
Browse files Browse the repository at this point in the history
  • Loading branch information
rfabbri committed Jun 16, 2024
1 parent 22e9318 commit 8580711
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,5 @@ scripts/synthdata/results-synth/
tests/Fastor/
original
tutorial/startSys
tutorial/HxH.cxx
tutorial/HxHt.cxx
2 changes: 1 addition & 1 deletion cmd/minus-linecircle.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <chrono>
#include <thread>
#include <minus/minus.h>
#include <minus/chicago14a-io.h>
#include <minus/linecircle-io.h>
#include <minus/chicago-default.h>

using namespace MiNuS;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion minus/minus.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ using C = typename std::complex<F>;

// The problem solvers that this solver template currently supports
enum problem {chicago14a, chicago6a, cleveland14a, phoenix10a /*, standard*/};
enum problem {chicago14a, chicago6a, cleveland14a, phoenix10a, linecircle2a /*, standard*/};

// The current best formulations for each problem
constexpr problem chicago = problem::chicago14a;
constexpr problem cleveland = problem::cleveland14a;
constexpr problem linecircle = problem::linecircle;
constexpr problem linecircle = problem::linecircle2a;
// You can now use solver<chicago> to default to the best formulation

// Each problem specializes this in their specific .h
Expand Down

0 comments on commit 8580711

Please sign in to comment.