Closed torressa closed 4 years ago
Not sure about the integration tests either..
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
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.
Hey man, I've changed around some stuff, have a look. Maybe I'm wrong in thinking that
test_sub_cspy
andtest_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.