Skip to content

Commit

Permalink
new file organization
Browse files Browse the repository at this point in the history
  • Loading branch information
Hadrien Godard committed Mar 12, 2018
1 parent a1e1ab2 commit fbbed61
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 ),
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.
2 changes: 1 addition & 1 deletion build_variant.m
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
2 changes: 2 additions & 0 deletions setup.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
addpath(fullfile(pwd, 'Solvers'))
addpath(pwd)
addpath(fullfile(pwd, 'readmps'))
addpath(fullfile(pwd, 'Variants'))
addpath(fullfile(pwd, 'Tools'))

0 comments on commit fbbed61

Please sign in to comment.