Commit Graph

408 Commits

Author SHA1 Message Date
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
75d1eee424 DropRedundant: Make x_y parallel 2021-03-30 10:06:55 -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
bcaf26b18c Sklearn: Handle the special case when all labels are the same 2021-03-02 19:31:12 -06:00
b6ea0c5f1b ConstraintFeatures: Store lhs and sense 2021-03-02 18:14:36 -06:00
3a60deac63 LearningSolver: Handle exceptions in parallel_solve 2021-03-02 17:27:50 -06:00
bca6581b0f DropRedundant: Clear pool before each solve 2021-03-02 17:27:50 -06:00
1397937f03 Add first model feature (constraint RHS) 2021-03-02 17:21:05 -06:00
31ca45036a Organize test fixtures; handle infeasibility in DropRedundant 2021-02-02 10:24:51 -06:00
8153dfc825 DropRedundant: Update for new classifier interface 2021-02-02 09:26:16 -06:00
d3c5371fa5 VarIndex: Use tuples instead of lists 2021-02-02 09:10:49 -06:00
d1bbe48662 GurobiSolver: Small fix to _update_vars 2021-02-02 08:40:44 -06:00
9abcea05cd Objective: Use LP value as feature 2021-01-26 22:28:20 -06:00
fe47b0825f Remove unused extractors 2021-01-26 22:20:18 -06:00
603902e608 Refactor ObjectiveComponent 2021-01-26 22:16:46 -06:00
edd0c8d750 Remove RelaxationComponent 2021-01-25 18:12:52 -06:00
a97089fc34 Primal: Add tolerance in binary check 2021-01-25 17:54:41 -06:00
203afc6993 Primal: Compute statistics 2021-01-25 16:02:40 -06:00
b0b013dd0a Fix all tests 2021-01-25 15:19:58 -06:00
3ab3bb3c1f Refactor PrimalSolutionComponent 2021-01-25 14:54:58 -06:00
f68cc5bd59 Refactor thresholds 2021-01-25 09:52:49 -06:00
4da561a6a8 AdaptiveClassifier: Refactor and add tests 2021-01-25 08:59:06 -06:00
8dba65dd9c Start refactoring of classifiers 2021-01-22 11:35:29 -06:00
b87ef651e1 Document and simplify Classifier and Regressor 2021-01-22 09:06:04 -06:00
f90d78f802 Move tests to separate folder 2021-01-22 07:42:28 -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
f7ce441fa6 Add types to internal solvers 2021-01-21 17:19:28 -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
a98a783969 Update tests 2021-01-21 14:38:12 -06:00
a42c5ebdc3 Remove unused methods 2021-01-21 14:27:28 -06:00
868675ecf2 Implement some constraint methods in Pyomo 2021-01-21 14:24:06 -06:00
13e142432a Add types to remaining InternalSolver methods 2021-01-21 14:02:18 -06:00
0cf963e873 Fix tests for Python 3.6 2021-01-21 13:01:14 -06:00
6890840c6d InternalSolver: Better specify and test infeasibility 2021-01-21 09:15:14 -06:00
372d6eb066 Instance: Reformat comments 2021-01-21 08:29:38 -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
947189f25f Disallow untyped calls and incomplete defs 2021-01-20 10:48:03 -06:00
7555f561f8 Use TypedDict from typing_extensions 2021-01-20 10:25:22 -06:00
1971389a57 Add types to InternalSolver 2021-01-20 10:07:28 -06:00
69a82172b9 Fix some _compute_gap corner cases; add tests 2021-01-20 08:56:02 -06:00
a536d2ecc6 Fix various warnings 2021-01-19 22:52:39 -06:00
36061d5a14 Make _compute_gap static 2021-01-19 22:32:29 -06:00
9ddb952db0 Make LearningSolver.add internal 2021-01-19 22:32:05 -06:00