Commit Graph

45 Commits

Author SHA1 Message Date
6330354c47 Remove EnforceOverrides; automatically convert np.ndarray features 2021-04-08 07:50:16 -05:00
96093a9b8e Enforce more overrides 2021-04-07 12:01:05 -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
3543a2ba92 Optimize imports 2021-04-06 16:23:55 -05:00
332cdbd839 Update copyright year 2021-04-06 16:22:56 -05:00
9f2d7439dc Add user cut callbacks; begin rewrite of UserCutsComponent 2021-04-06 12:46:37 -05:00
54c20382c9 Finish DynamicLazyConstraintsComponent rewrite 2021-04-06 08:19:29 -05:00
c6aee4f90d Make sample_ method accept instance 2021-04-06 06:48:47 -05:00
6e326d5d6e Move feature classes to features.py 2021-04-05 20:38:31 -05:00
08e808690e Replace InstanceIterator by PickleGzInstance 2021-04-04 14:56:33 -05:00
6e614264b5 StaticLazy: Refactor 2021-04-04 08:39:56 -05:00
168f56c296 Fix typos 2021-04-03 19:13:00 -05:00
185b95118a Objective: Rewrite sample_evaluate 2021-04-03 18:37:49 -05:00
7af22bd16b Refactor ObjectiveValueComponent 2021-04-03 10:24:05 -05:00
0bce2051a8 Redesign component.evaluate 2021-04-02 08:10:08 -05:00
0c687692f7 Make all before/solve callbacks receive same parameters 2021-04-02 07:05:16 -05:00
ef556f94f0 Rename xy_sample to xy 2021-04-02 06:26:48 -05:00
fe7bad885c Make xy_sample receive features, not instances 2021-03-31 10:05:59 -05:00
1224613b1a Implement component.fit, component.fit_xy 2021-03-30 21:18:40 -05:00
64a63264c7 Rename xy to xy_sample 2021-03-30 17:24:27 -05:00
e8adeb28a3 Add ObjectiveValueComponent.xy 2021-03-30 17:17:29 -05:00
9266743940 Add Component.xy and PrimalSolutionComponent.xy 2021-03-30 17:08:10 -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
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
e12a896504 Add training_data argument to after_solve 2021-01-14 10:37:48 -06:00
0377b5b546 Minor changes to docstrings 2021-01-07 10:08:14 -06:00
6540c88cc5 Component: Add default implementations to all methods 2020-12-05 20:34:00 -06:00
d99600f101 Reformat source code with Black; add pre-commit hooks and CI checks 2020-12-05 10:59:33 -06:00
51b5d8e549 Component: rename iteration_cb and lazy_cb 2020-12-04 08:35:43 -06:00
a221740ac5 Implement lazy callbacks & two-phase gap 2020-09-25 06:02:07 -05:00
e527e75481 Implement iteration_cb for LearningSolver; reactivate TSP 2020-09-23 17:46:18 -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
5eee00c626 Plot predicted objective value 2020-02-26 15:45:02 -06:00
7a01d9cbcf Implement TSP generator and LazyConstraintsComponent 2020-02-24 22:01:12 -06:00
ccd694af9b Implement ObjectiveValueComponent 2020-02-23 15:09:57 -06:00
4ab957b686 Update copyright notices 2020-02-21 15:03:33 -06:00
635c16386d Update copyright notices 2020-02-21 11:35:09 -06:00
85b804610f Move components into submodule 2020-02-05 12:50:36 -06:00