Kuifje02 / vrpy

A python framework for solving the VRP and its variants with column generation.
MIT License
179 stars 43 forks source link

Some updates #2

Closed torressa closed 4 years ago

torressa commented 4 years ago

Hey man, I've changed around some stuff, have a look. Maybe I'm wrong in thinking that test_sub_cspy and test_sub_pulp solve the same problem? Also was thinking to make the subproblems into classes that way we can subdivide the problem specific parts and the common parts. Also, sorry for slight reformatting.

torressa commented 4 years ago

Not sure about the integration tests either..

torressa commented 4 years ago

I've restrured the subproblem lp in a new file. See what you think. I was having trouble understanding what problem was actually being formulated so I removed the hard-coded bits and made it a bit more generic, so you can input the load, duration, etc

torressa commented 4 years ago

The idea would be to do the same for the subproblem using cspy. The SubProblemcspy class inherits from subproblem base and depending on the inputs, it sets different resource bounds.