diff --git a/README.md b/README.md index 57d639b..bfba87d 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,9 @@ An experimental object-oriented version of [PDCO](http://web.stanford.edu/group/SOL/software/pdco). + +## List of dependencies + +* Model module (available at https://github.com/optimizers/model ), +* Ampl to nlpmodel interface (available at https://github.com/optimizers/AmplMexInterface ), +* Spot module (available at https://github.com/optimizers/spot ), \ No newline at end of file diff --git a/afiro.mps b/Test/afiro.mps similarity index 100% rename from afiro.mps rename to Test/afiro.mps diff --git a/pdco_ampl.m b/Test/pdco_ampl.m similarity index 100% rename from pdco_ampl.m rename to Test/pdco_ampl.m diff --git a/script_problem.m b/Test/script_problem.m similarity index 100% rename from script_problem.m rename to Test/script_problem.m diff --git a/script_test.m b/Test/script_test.m similarity index 100% rename from script_test.m rename to Test/script_test.m diff --git a/mpstolp.m b/Tools/mpstolp.m similarity index 100% rename from mpstolp.m rename to Tools/mpstolp.m diff --git a/qpstoqp.m b/Tools/qpstoqp.m similarity index 100% rename from qpstoqp.m rename to Tools/qpstoqp.m diff --git a/pdco_K1x_Cholesky.m b/Variants/pdco_K1x_Cholesky.m similarity index 100% rename from pdco_K1x_Cholesky.m rename to Variants/pdco_K1x_Cholesky.m diff --git a/build_variant.m b/build_variant.m index 2f3c179..eff7bc2 100644 --- a/build_variant.m +++ b/build_variant.m @@ -1,7 +1,7 @@ function classname = build_variant(formulation, solver) classname = sprintf('pdco_%s_%s', formulation, solver); - fname = [classname, '.m']; + fname = ['Variants/' , classname, '.m']; fid = fopen(fname, 'w'); code = format_template(formulation, solver); fprintf(fid, code); diff --git a/setup.m b/setup.m index c9ceb12..454fe61 100644 --- a/setup.m +++ b/setup.m @@ -2,3 +2,5 @@ addpath(fullfile(pwd, 'Solvers')) addpath(pwd) addpath(fullfile(pwd, 'readmps')) +addpath(fullfile(pwd, 'Variants')) +addpath(fullfile(pwd, 'Tools')) \ No newline at end of file