Commit Graph

87 Commits

Author SHA1 Message Date
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
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
088d679f61 Redesign InternalSolver constraint methods 2021-04-10 15:53:38 -05:00
735884151d Reorganize callbacks 2021-04-10 09:04:34 -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
3f4336f902 Always remove .mypy_cache; fix more mypy tests 2021-04-09 08:18:54 -05:00
5aa434b439 Fix failing mypy tests 2021-04-09 07:41:23 -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
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
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
94084e0669 Convert InstanceFeatures into dataclass 2021-04-05 20:02:24 -05:00
d79eec5da6 Convert VariableFeatures into dataclass 2021-04-04 22:56:26 -05:00
59f4f75a53 Convert Features into dataclass 2021-04-04 22:37:16 -05:00
f2520f33fb Correctly store features and training data for file-based instances 2021-04-04 22:00:21 -05:00
025e08f85e LazyStatic: Use dynamic thresholds 2021-04-04 20:42:04 -05:00
08e808690e Replace InstanceIterator by PickleGzInstance 2021-04-04 14:56:33 -05:00
b4770c6c0a Fix failing tests 2021-04-04 08:55:55 -05:00
6e614264b5 StaticLazy: Refactor 2021-04-04 08:39:56 -05:00
ea5c35fe18 Objective: Refactoring 2021-04-03 19:10:29 -05:00
185b95118a Objective: Rewrite sample_evaluate 2021-04-03 18:37:49 -05:00
7af22bd16b Refactor ObjectiveValueComponent 2021-04-03 10:24:05 -05:00
0bce2051a8 Redesign component.evaluate 2021-04-02 08:10:08 -05:00
0c687692f7 Make all before/solve callbacks receive same parameters 2021-04-02 07:05:16 -05:00
ef556f94f0 Rename xy_sample to xy 2021-04-02 06:26:48 -05:00
bc8fe4dc98 Components: Switch from factory methods to prototype objects 2021-04-01 08:34:56 -05:00
59c734f2a1 Add ScikitLearnRegressor; move sklean classes to their own file 2021-04-01 07:54:14 -05:00
820a6256c2 Make classifiers and regressors clonable 2021-04-01 07:41:59 -05:00