Commit Graph

179 Commits

Author SHA1 Message Date
317e16d471 ConvertTight: Don't take any action on constraints with negative slack 2021-01-07 11:03:02 -06:00
ec00f7555a Export steps 2021-01-07 10:34:38 -06:00
d8dc8471aa Implement tests for ConvertTightIneqsIntoEqsStep 2021-01-07 10:29:22 -06:00
0377b5b546 Minor changes to docstrings 2021-01-07 10:08:14 -06:00
191da25cfc Split relaxation.py into multiple files 2021-01-07 10:01:04 -06:00
144ee668e9 Fix failing tests 2021-01-07 09:41:55 -06:00
c1b4ea448d PyomoSolver: Never query values of fixed variables 2020-12-08 13:12:47 -06:00
4a26de5ff1 RelaxationComponent: Convert tight inequalities into equalities 2020-12-05 21:11:08 -06:00
5b5f4b7671 InternalSolver: set_constraint_sense, set_constraint_rhs 2020-12-05 21:09:35 -06:00
8bb9996384 Break down RelaxationComponent into multiple steps 2020-12-05 20:34:29 -06:00
6540c88cc5 Component: Add default implementations to all methods 2020-12-05 20:34:00 -06:00
94b493ac4b Implement CompositeComponent 2020-12-05 20:16:22 -06:00
d99600f101 Reformat source code with Black; add pre-commit hooks and CI checks 2020-12-05 10:59:33 -06:00
3823931382 RelaxationComponent: max_iterations 2020-12-04 10:30:55 -06:00
0b41c882ff Merge branch 'feature/files' into dev 2020-12-04 09:41:23 -06:00
388b10c63c Train without loading all instances to memory 2020-12-04 09:37:41 -06:00
54d80bfa85 RelaxationComponent: Implement check_dropped 2020-12-04 09:33:46 -06:00
51b5d8e549 Component: rename iteration_cb and lazy_cb 2020-12-04 08:35:43 -06:00
e7426e445a Make tests compatible with Python 3.7+ 2020-12-03 12:00:32 -06:00
57d185dfc2 Merge branch 'gh-actions' into dev 2020-12-03 11:46:38 -06:00
272eb647fd Switch to GitHub runners; temporarily disable CPLEX 2020-12-03 11:43:13 -06:00
f03cc15b75 Allow solve and parallel_solve to operate on files 2020-10-08 17:48:08 -05:00
1b6982ae8d Implement RelaxationComponent 2020-10-08 15:03:17 -05:00
3c4045f64b StaticLazy: Add tolerance to tests 2020-10-05 11:44:51 -05:00
4144b8b6b3 Primal: In evaluate, skip variables without predictions 2020-10-05 11:28:30 -05:00
0cf88ded89 LearningSolver: Silence logging during parallel_solve 2020-10-05 11:27:43 -05:00
92615958fb GurobiSolver: Flip upper/lower bound for minimization problems 2020-10-05 11:27:19 -05:00
b51c367257 UserCutsComponent: ignore training instances without cut data 2020-10-05 11:26:36 -05:00
75570ceaeb Minor fixed to BenchmarkRunner 2020-10-05 11:25:53 -05:00
a221740ac5 Implement lazy callbacks & two-phase gap 2020-09-25 06:02:07 -05:00
86e7b1981f Revert changes to default variable category 2020-09-24 15:05:54 -05:00
ba96338d2d Small fixes to lazy constraints 2020-09-24 14:30:29 -05:00
0fe6aab98f Modify Instance defaults 2020-09-24 14:30:06 -05:00
e527e75481 Implement iteration_cb for LearningSolver; reactivate TSP 2020-09-23 17:46:18 -05:00
5390a5b656 Rename LazyConstraintsComponent to DynamicLazyConstraintsComponent 2020-09-23 17:34:19 -05:00
425ea2b7cc Temporarily remove native solver callbacks; add iteration_cb 2020-09-23 17:30:39 -05:00
e731f46b72 Implement preliminary version of static lazy component 2020-09-23 14:27:17 -05:00
5ccd65c809 Remove empty tests 2020-09-23 14:25:30 -05:00
6b104433be Improve logging 2020-09-15 08:46:49 -05:00
25f336aac9 Fix failing test 2020-08-29 11:49:19 -05:00
5663ced0be Move python files to root folder; remove built docs 2020-08-29 11:42:02 -05:00
7765d1f822 Reorganize directories 2020-03-05 17:58:56 -06:00
303750a7dd Restore add_constraint method 2020-03-05 16:15:11 -06:00
19453f5ee5 LearningSolver: only compute all_vars once 2020-03-05 14:02:03 -06:00
2750447f6d Use lazy constraints callback (Gurobi only) 2020-03-05 13:58:46 -06:00
72fc65cae0 LazyConstraintsComponent: make threshold configurable 2020-03-05 12:55:00 -06:00
570ac09286 Only relax binary variables; do not clear value of fixed variables 2020-03-01 11:13:17 -06:00
5eee00c626 Plot predicted objective value 2020-02-26 15:45:02 -06:00
b609b4a0ee Include objective sense in benchmark file; update charts 2020-02-26 13:28:16 -06:00
0b04fa93da Finish TSP implementation; improve performance of Extractors 2020-02-25 22:31:03 -06:00