Commit Graph

51 Commits

Author SHA1 Message Date
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
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
c39231cb18 Implement a small subset of Alvarez2017 features 2021-04-10 19:48:58 -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
5116681291 Add some InternalSolver tests to main package 2021-04-08 11:23:56 -05: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
a98a783969 Update tests 2021-01-21 14:38:12 -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
1971389a57 Add types to InternalSolver 2021-01-20 10:07:28 -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
ffc77075f5 Require a callable as the internal solver 2021-01-19 21:21:39 -06:00
beee252fa2 simulate_perfect: Do not overwrite original file 2021-01-13 11:04:33 -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
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
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
e527e75481 Implement iteration_cb for LearningSolver; reactivate TSP 2020-09-23 17:46:18 -05:00
5390a5b656 Rename LazyConstraintsComponent to DynamicLazyConstraintsComponent 2020-09-23 17:34:19 -05:00
425ea2b7cc Temporarily remove native solver callbacks; add iteration_cb 2020-09-23 17:30:39 -05:00
25f336aac9 Fix failing test 2020-08-29 11:49:19 -05:00