Commit Graph

503 Commits

Author SHA1 Message Date
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
5aa434b439 Fix failing mypy tests 2021-04-09 07:41:23 -05:00
5116681291 Add some InternalSolver tests to main package 2021-04-08 11:23:56 -05:00
3edc8139e9 Improve logging 2021-04-08 11:23:30 -05:00
6330354c47 Remove EnforceOverrides; automatically convert np.ndarray features 2021-04-08 07:50:16 -05:00
157825a345 mypy: Disable implicit optionals 2021-04-07 21:36:37 -05:00
e9cd6d1715 Add types to remaining files; activate mypy's disallow_untyped_defs 2021-04-07 21:25:30 -05:00
f5606efb72 Add types to log.py 2021-04-07 21:01:21 -05:00
331ee5914d Add types to solvers 2021-04-07 20:58:44 -05:00
38212fb858 Add types to tsp.py 2021-04-07 20:33:28 -05:00
f7545204d7 Add types to stab.py 2021-04-07 20:25:59 -05:00
2c93ff38fc Add types to knapsack.py 2021-04-07 20:21:28 -05:00
0232219a0e Make InternalSolver clonable 2021-04-07 19:52:21 -05:00
ebccde6a03 Update CHANGELOG.md 2021-04-07 17:52:20 -05:00
0516d4a802 Update CHANGELOG.md 2021-04-07 16:44:03 -05:00
d76dc768b0 Add CHANGELOG.md 2021-04-07 15:32:43 -05:00
1380165e3d Benchmark: Reduce time limit during training 2021-04-07 12:07:17 -05:00
96093a9b8e Enforce more overrides 2021-04-07 12:01:05 -05:00
1cf6124757 Refer to variables by varname instead of (vname, index) 2021-04-07 11:56:05 -05:00
856b595d5e PickleGzInstance: Replace implicit load by load/free methods 2021-04-06 19:23:08 -05:00
f495297168 Remove experimental LP components 2021-04-06 17:00:51 -05:00
f90f295620 Reorganize instance package 2021-04-06 16:31:47 -05:00
3543a2ba92 Optimize imports 2021-04-06 16:23:55 -05:00
332cdbd839 Update copyright year 2021-04-06 16:22:56 -05:00
b0bf42e69d Remove obsolete extractor classes 2021-04-06 16:18:26 -05:00
9e7eed1dbd Finish rewrite of user cuts component 2021-04-06 16:17:05 -05:00
9f2d7439dc Add user cut callbacks; begin rewrite of UserCutsComponent 2021-04-06 12:46:37 -05:00
cfb17551f1 Make sample_xy an instance method 2021-04-06 11:24:56 -05:00
54c20382c9 Finish DynamicLazyConstraintsComponent rewrite 2021-04-06 08:19:29 -05:00
c6aee4f90d Make sample_ method accept instance 2021-04-06 06:48:47 -05:00
bb91c83187 LazyDynamic: Rewrite fit method 2021-04-06 06:28:23 -05:00
6e326d5d6e Move feature classes to features.py 2021-04-05 20:38:31 -05:00
b11779817a Convert TrainingSample to dataclass 2021-04-05 20:36:04 -05:00
aeed338837 Convert ConstraintFeatures to dataclass 2021-04-05 20:12:07 -05:00