Пример #1
0
 def test_cuts_valid_on_facet_containing_optimal_tightM_fme(self):
     m = models.fourCircles()
     TransformationFactory('gdp.cuttingplane').apply_to(
         m, bigM=1e6,create_cuts=create_cuts_fme)
     self.check_cuts_valid_on_facet_containing_optimal(m)
Пример #2
0
 def test_cuts_valid_on_facet_containing_optimal_tightM_inf_norm(self):
     m = models.fourCircles()
     TransformationFactory('gdp.cuttingplane').apply_to(
         m, bigM=1e6, norm=float('inf'))
     self.check_cuts_valid_on_facet_containing_optimal(m)
Пример #3
0
 def test_cuts_valid_for_optimal_tightM(self):
     m = models.fourCircles()
     TransformationFactory('gdp.cuttingplane').apply_to(m, bigM=83)
     self.check_cuts_valid_for_optimal(m)