Commit Graph

172 Commits

Author SHA1 Message Date
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
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
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
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
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
6890840c6d InternalSolver: Better specify and test infeasibility 2021-01-21 09:15:14 -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
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
4b8672870a Add XpressPyomoSolver 2021-01-19 22:28:39 -06:00
0371b2c7a9 Simply Pyomo solvers 2021-01-19 21:54:37 -06:00
185025e86c Remove methods to set solver parameters 2021-01-19 21:38:01 -06:00
ffc77075f5 Require a callable as the internal solver 2021-01-19 21:21:39 -06:00
aecc3a311f Merge branch 'feature/convert-ineqs' into dev 2021-01-19 07:22:14 -06:00
088a4a0355 Fix formatting 2021-01-14 21:01:42 -06:00
137247aed9 GurobiSolver: Randomize seed 2021-01-14 11:31:40 -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
d67af4a26b ConvertTight: Detect and fix sub-optimality 2021-01-12 11:56:25 -06:00
f77d1d5de9 ConvertTight: Detect and fix infeasibility 2021-01-12 10:05:57 -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
7f55426909 Remove debug print statements 2021-01-11 10:26:44 -06:00
4057a65506 ConvertTightIneqs: Convert only inequalities, not equalities 2021-01-07 11:54:00 -06:00
0377b5b546 Minor changes to docstrings 2021-01-07 10:08:14 -06:00