Commit Graph

64 Commits

Author SHA1 Message Date
0ba8cc16fd GurobiSolver: Implement relax/enforce constraint 2021-04-15 15:22:12 -05:00
4dd4ef52bd Add with_lhs argument 2021-04-15 12:39:48 -05:00
18521331c9 Extract more features to ConstraintFeatures 2021-04-15 12:21:19 -05:00
230d13a5c0 Create ConstraintFeatures 2021-04-15 11:49:58 -05:00
95e326f5f6 Use compact variable features everywhere 2021-04-15 09:49:35 -05:00
fec0113722 Rename features.variables to variables_old; update FeatureExtractor 2021-04-15 06:54:27 -05:00
08f0bedbe0 Implement more compact get_variables 2021-04-15 06:26:33 -05:00
ef7a50e871 Only include static features in after-load 2021-04-13 16:08:30 -05:00
c4a6665825 Remove obsolete methods 2021-04-13 09:42:25 -05:00
2d4ded1978 Fix some mypy issues 2021-04-11 17:07:45 -05:00
16630b3a36 GurobiPyomoSolver: Extract same features as GurobiSolver 2021-04-11 17:05:41 -05:00
6bc81417ac Sort methods 2021-04-11 16:50:00 -05:00
fcb511a2c6 Pyomo: Collect variable reduced costs 2021-04-11 16:30:00 -05:00
3cfadf4e97 Pyomo: Collect variable bounds, obj_coeff, value, type 2021-04-11 16:21:31 -05:00
bd78518c1f Convert MIPSolveStats into dataclass 2021-04-11 09:10:14 -05:00
2bc1e21f8e Add lp_stats to after-lp features 2021-04-11 08:57:57 -05:00
945f6a091c Convert LPSolveStats into dataclass 2021-04-11 08:41:50 -05:00
733c8299e0 Add more variable features 2021-04-10 18:56:59 -05:00
5e1f26e4b0 Add more constraint features 2021-04-10 17:38:03 -05:00
b5e602cdc1 get_constraints: Fetch slack and dual values 2021-04-10 17:24:03 -05:00
088d679f61 Redesign InternalSolver constraint methods 2021-04-10 15:53:38 -05:00
f70363db0d Replace build_lazy_constraint by enforce_lazy_constraint 2021-04-10 10:05:30 -05:00
735884151d Reorganize callbacks 2021-04-10 09:04:34 -05:00
6ac738beb4 PyomoSolver: Implement missing constraint methods 2021-04-09 22:31:17 -05:00
9368b37139 Replace individual constraint methods by single get_constraints 2021-04-09 21:51:38 -05:00
626d75f25e Reorganize internal solver tests 2021-04-09 20:33:48 -05:00
a8224b5a38 Move instance fixtures into the main source; remove duplication 2021-04-09 19:07:46 -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
1cf6124757 Refer to variables by varname instead of (vname, index) 2021-04-07 11:56:05 -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
9f2d7439dc Add user cut callbacks; begin rewrite of UserCutsComponent 2021-04-06 12:46:37 -05:00
3b61a15ead Add after_solve_lp callback; make dict keys consistent 2021-03-30 10:05:28 -05:00
b6ea0c5f1b ConstraintFeatures: Store lhs and sense 2021-03-02 18:14:36 -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
c342a870d1 Minor fixes to docstrings; make some classes private 2021-01-21 18:54:05 -06:00
f7ce441fa6 Add types to internal solvers 2021-01-21 17:19:28 -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
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
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
4b8672870a Add XpressPyomoSolver 2021-01-19 22:28:39 -06:00
0371b2c7a9 Simply Pyomo solvers 2021-01-19 21:54:37 -06:00