fslaborg / flips

Fsharp LInear Programming System
https://flipslibrary.com/#/
MIT License
253 stars 32 forks source link

move the Flips model definition of all examples into a single SampleProblems.fs #131

Closed smoothdeveloper closed 3 years ago

smoothdeveloper commented 3 years ago

this will make it easy to run the model with different solvers, referencing the samples from a script and other usages.

It also makes the separation a bit clearer between "formulation" "run" and "solution" when we will edit the code further in the Flips.Examples project.

matthewcrews commented 3 years ago

Is this the directory you wanted this example in? It's in the Solver.CBC directory. Did you mean to put it into a Cplex directory?

smoothdeveloper commented 3 years ago

Is this the directory you wanted this example in? It's in the Solver.CBC directory. Did you mean to put it into a Cplex directory?

You are right, I just thought we would rename that folder and we won't use much more, but I'll put the new code in a new folder aside.

I've also made the cplex examples output the .lp and .tsv files to make it easier to compare with others. (they look a bit different, which is concerning in some of the examples).

Let me know any other feedback.