Commit Graph

101 Commits

Author SHA1 Message Date
3edc8139e9 Improve logging 2021-04-08 11:23:30 -05:00
157825a345 mypy: Disable implicit optionals 2021-04-07 21:36:37 -05:00
331ee5914d Add types to solvers 2021-04-07 20:58:44 -05:00
0232219a0e Make InternalSolver clonable 2021-04-07 19:52:21 -05:00
856b595d5e PickleGzInstance: Replace implicit load by load/free methods 2021-04-06 19:23:08 -05:00
f90f295620 Reorganize instance package 2021-04-06 16:31:47 -05:00
332cdbd839 Update copyright year 2021-04-06 16:22:56 -05:00
9e7eed1dbd Finish rewrite of user cuts component 2021-04-06 16:17:05 -05:00
9f2d7439dc Add user cut callbacks; begin rewrite of UserCutsComponent 2021-04-06 12:46:37 -05:00
6e326d5d6e Move feature classes to features.py 2021-04-05 20:38:31 -05:00
b11779817a Convert TrainingSample to dataclass 2021-04-05 20:36:04 -05:00
59f4f75a53 Convert Features into dataclass 2021-04-04 22:37:16 -05:00
f2520f33fb Correctly store features and training data for file-based instances 2021-04-04 22:00:21 -05:00
08e808690e Replace InstanceIterator by PickleGzInstance 2021-04-04 14:56:33 -05:00
0c687692f7 Make all before/solve callbacks receive same parameters 2021-04-02 07:05:16 -05:00
b83911a91d Primal: Add end-to-end tests 2021-03-31 12:51:18 -05:00
db2f426140 Primal: reactivate before_solve_mip 2021-03-31 12:08:49 -05:00
12fca1f22b Extract all features ahead of time 2021-03-31 07:42:01 -05:00
3b61a15ead Add after_solve_lp callback; make dict keys consistent 2021-03-30 10:05:28 -05:00
6ae052c8d0 Rename before/after_solve to before/after_solve_mip 2021-03-30 09:04:41 -05:00
3a60deac63 LearningSolver: Handle exceptions in parallel_solve 2021-03-02 17:27:50 -06:00
1397937f03 Add first model feature (constraint RHS) 2021-03-02 17:21:05 -06:00
f755661fa6 Simplify BenchmarkRunner; update docs 2021-01-22 07:22:19 -06:00
c342a870d1 Minor fixes to docstrings; make some classes private 2021-01-21 18:54:05 -06:00
7dbbfdc418 Minor fixes 2021-01-21 18:21:53 -06:00
d500294ebd Add more types to LearningSolver 2021-01-21 16:33:55 -06:00
fc0835e694 Add type annotations to components 2021-01-21 15:54:23 -06:00
a1b959755c Fix solve_lp_first=False and add tests 2021-01-21 08:25:57 -06:00
06402516e6 Move collected data to instance.training_data 2021-01-21 08:21:40 -06:00
23dd311d75 Reorganize imports; start moving data to instance.training_data 2021-01-20 12:02:25 -06:00
a536d2ecc6 Fix various warnings 2021-01-19 22:52:39 -06:00
9ddb952db0 Make LearningSolver.add internal 2021-01-19 22:32:05 -06:00
ffc77075f5 Require a callable as the internal solver 2021-01-19 21:21:39 -06:00
e12a896504 Add training_data argument to after_solve 2021-01-14 10:37:48 -06:00
beee252fa2 simulate_perfect: Do not overwrite original file 2021-01-13 11:04:33 -06:00
dfe0239dff LearningSolver: Implement simulate_perfect 2021-01-12 07:54:58 -06:00
bdfe343fea Silence debug statements 2021-01-12 07:54:32 -06:00
0377b5b546 Minor changes to docstrings 2021-01-07 10:08:14 -06:00
d99600f101 Reformat source code with Black; add pre-commit hooks and CI checks 2020-12-05 10:59:33 -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
51b5d8e549 Component: rename iteration_cb and lazy_cb 2020-12-04 08:35:43 -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
0cf88ded89 LearningSolver: Silence logging during parallel_solve 2020-10-05 11:27:43 -05:00
a221740ac5 Implement lazy callbacks & two-phase gap 2020-09-25 06:02:07 -05:00
ba96338d2d Small fixes to lazy constraints 2020-09-24 14:30:29 -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
6b104433be Improve logging 2020-09-15 08:46:49 -05:00