Commit Graph

736 Commits

Author SHA1 Message Date
c26b852c67 Update UserCutsComponent 2021-04-13 09:08:49 -05:00
a4433916e5 Update DynamicLazyConstraintsComponent 2021-04-13 08:42:06 -05:00
b5411b8950 Update ObjectiveValueComponent 2021-04-13 07:53:23 -05:00
a9dcdb8e4e Update PrimalSolutionComponent 2021-04-13 07:23:07 -05:00
d7aa31f3eb Fix mypy errors 2021-04-13 06:47:31 -05:00
9d404f29a7 Call new fit method 2021-04-12 10:30:47 -05:00
cb62345acf Refactor StaticLazy 2021-04-12 10:05:17 -05:00
e6672a45a0 Rename more methods to _old 2021-04-12 08:55:01 -05:00
08ede5db09 Component: add new callback methods 2021-04-12 08:34:46 -05:00
6f6cd3018b Rewrite DynamicLazy.sample_xy 2021-04-12 08:11:39 -05:00
bccf0e9860 Rewrite StaticLazy.sample_xy 2021-04-12 07:35:51 -05:00
2979bd157c Rewrite PrimalSolutionComponent.sample_xy 2021-04-11 21:52:59 -05:00
d90d7762e3 Rewrite ObjectiveValueComponent.sample_xy 2021-04-11 21:27:25 -05:00
2da60dd293 Rename methods that use TrainingSample to _old 2021-04-11 21:00:04 -05:00
5fd13981d4 Append sample 2021-04-11 17:39:55 -05:00
fde6dc5a60 Combine after_load, after_lp and after_mip into Sample dataclass 2021-04-11 17:20:17 -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
6b15337e4c Add mip_stats to after-mip features 2021-04-11 09:14:05 -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
6afdf2ed55 Collect features 3 times (after-load, after-lp, after-mip) 2021-04-11 08:03:46 -05:00
d85a63f869 Small fixes to Alvarez2017 features 2021-04-11 08:03:17 -05:00
c39231cb18 Implement a small subset of Alvarez2017 features 2021-04-10 19:48:58 -05:00
9ca4cc3c24 Include additional features in instance.features 2021-04-10 19:11:38 -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
f3fd1e0cda Make internal_solvers into a fixture 2021-04-09 18:35:19 -05:00
31d0a0861d Bump version to 0.2.0.dev3 2021-04-09 09:06:28 -05:00
5d7c2ea089 Require Python 3.7+ 2021-04-09 09:04:34 -05:00
4e230c2120 Move all dependencies to setup.py 2021-04-09 09:01:09 -05:00
7d3b065a3e Add Overrides to setup.py; bump to 0.2.0.dev2 2021-04-09 08:29:15 -05:00
3f4336f902 Always remove .mypy_cache; fix more mypy tests 2021-04-09 08:18:54 -05:00
32b6a8f3fa Bump version to 0.2.0.dev1 2021-04-09 08:08:16 -05:00
166cdb81d7 Fix tests 2021-04-09 07:59:52 -05:00
57624bd75c Update gitignore 2021-04-09 07:53:14 -05:00
c66a59d668 Make version a pre-release 2021-04-09 07:53:14 -05:00
74ceb776c3 Skip extracting features if already computed 2021-04-09 07:53:14 -05:00