Commit Graph

45 Commits

Author SHA1 Message Date
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
185025e86c Remove methods to set solver parameters 2021-01-19 21:38:01 -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
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
4057a65506 ConvertTightIneqs: Convert only inequalities, not equalities 2021-01-07 11:54:00 -06:00
c1b4ea448d PyomoSolver: Never query values of fixed variables 2020-12-08 13:12:47 -06:00
5b5f4b7671 InternalSolver: set_constraint_sense, set_constraint_rhs 2020-12-05 21:09:35 -06:00
d99600f101 Reformat source code with Black; add pre-commit hooks and CI checks 2020-12-05 10:59:33 -06:00
1b6982ae8d Implement RelaxationComponent 2020-10-08 15:03:17 -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
425ea2b7cc Temporarily remove native solver callbacks; add iteration_cb 2020-09-23 17:30:39 -05:00
5663ced0be Move python files to root folder; remove built docs 2020-08-29 11:42:02 -05:00