Commit Graph

207 Commits

Author SHA1 Message Date
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
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
0b41c882ff Merge branch 'feature/files' into dev 2020-12-04 09:41:23 -06:00
388b10c63c Train without loading all instances to memory 2020-12-04 09:37:41 -06:00
51b5d8e549 Component: rename iteration_cb and lazy_cb 2020-12-04 08:35:43 -06:00
e7426e445a Make tests compatible with Python 3.7+ 2020-12-03 12:00:32 -06:00
57d185dfc2 Merge branch 'gh-actions' into dev 2020-12-03 11:46:38 -06:00
272eb647fd Switch to GitHub runners; temporarily disable CPLEX 2020-12-03 11:43:13 -06:00
f03cc15b75 Allow solve and parallel_solve to operate on files 2020-10-08 17:48:08 -05:00
1b6982ae8d Implement RelaxationComponent 2020-10-08 15:03:17 -05:00
0cf88ded89 LearningSolver: Silence logging during parallel_solve 2020-10-05 11:27:43 -05:00
92615958fb GurobiSolver: Flip upper/lower bound for minimization problems 2020-10-05 11:27:19 -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