Commit Graph

358 Commits

Author SHA1 Message Date
80281df8d8 Replace instance.samples by instance.get/push_sample 2021-06-29 16:49:24 -05:00
a5092cc2b9 Request constraint features/categories in bulk 2021-06-29 09:54:35 -05:00
8118ab4110 Remove EnforceOverrides 2021-06-29 09:05:14 -05:00
438859e493 Request variable features/categories in bulk 2021-06-29 09:02:46 -05:00
6969f2ffd2 Measure time extracting features 2021-06-29 07:52:04 -05:00
5b4b8adee5 LearningSolver: add extract_sa, extract_lhs arguments 2021-06-28 17:34:15 -05:00
101bd94a5b Make read/write_pickle_gz quiet 2021-06-28 10:17:41 -05:00
46a7d3fe26 BenchmarkRunner.fit: Only iterate through files twice 2021-06-28 09:32:30 -05:00
343afaeec0 Fix MyPy errors 2021-05-26 09:49:58 -05:00
4c7e63409d Improve logging 2021-05-26 09:01:40 -05:00
ddd136c661 assert_equals: Handle ndarray with booleans 2021-05-20 11:38:35 -05:00
52093eb1c0 Combine np.ndarray conversion with rounding 2021-05-20 11:18:17 -05:00
34c71796e1 assert_equals: Recursively convert np.ndarray 2021-05-20 11:06:58 -05:00
cdd38cdfb8 Make assert_equals work with np.ndarray 2021-05-20 10:41:38 -05:00
81b7047c4c gurobi.py: Remove tuples 2021-05-20 10:25:56 -05:00
c494f3e804 Remove tuples from ConstraintFeatures 2021-05-20 10:23:53 -05:00
f9ac65bf9c Remove tuples from VariableFeatures 2021-05-20 10:03:18 -05:00
fa969cf066 Constraint features: Fix conversion to list 2021-05-20 08:54:18 -05:00
659131c8cf Only use p_tqdm is n_jobs>1 2021-05-20 08:39:51 -05:00
4bf4d09cb5 Remove unused classes and methods 2021-05-15 14:29:11 -05:00
91c8db2225 Refactor StaticLazy; remove old constraint methods 2021-05-15 14:15:48 -05:00
53d3e9d98a Implement ConstraintFeatures.__getitem__ 2021-05-15 09:38:00 -05:00
83c46d70a3 Implement bulk constraint methods 2021-05-15 09:26:55 -05:00
8e61b7be5f Remove EnforceOverrides 2021-05-10 13:31:43 -05:00
17d4bc6ab9 Remove empty docstring 2021-05-10 10:52:02 -05:00
249002dcf3 Fix mypy issues 2021-04-30 11:55:08 -05:00
c3d26a1c75 Reduce memory consumption of parallel_solve 2021-04-30 11:54:55 -05:00
0ba8cc16fd GurobiSolver: Implement relax/enforce constraint 2021-04-15 15:22:12 -05:00
4dd4ef52bd Add with_lhs argument 2021-04-15 12:39:48 -05:00
18521331c9 Extract more features to ConstraintFeatures 2021-04-15 12:21:19 -05:00
230d13a5c0 Create ConstraintFeatures 2021-04-15 11:49:58 -05:00
0e9c8b0a49 Rename features.constraints to constraints_old 2021-04-15 11:00:52 -05:00
39597287a6 Make extractor configurable 2021-04-15 09:57:10 -05:00
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
e6eca2ee7f GurobiSolver: Performance improvements 2021-04-15 04:12:10 -05:00
e1f32b1798 Add n_jobs to BenchmarkRunner.fit 2021-04-13 19:30:42 -05:00
77b10b9609 Parallel processing 2021-04-13 19:28:18 -05:00
bec7dae6d9 Add pre argument to sample_xy 2021-04-13 19:19:49 -05:00
a01c179341 LearningSolver: Load each instance exactly twice during fit 2021-04-13 18:11:37 -05:00
ef7a50e871 Only include static features in after-load 2021-04-13 16:08:30 -05:00
8f41278713 GurobiSolver: Improve get_constraints 2021-04-13 15:35:20 -05:00
37a1bc9fe6 Fix mypy errors 2021-04-13 14:36:20 -05:00
61645491a4 GurobiSolver: Bulk query 2021-04-13 10:54:01 -05:00
25affca3ec GurobiSolver: Accept integer variables, as long as bounds=(0,1) 2021-04-13 10:39:36 -05:00
c4a6665825 Remove obsolete methods 2021-04-13 09:42:25 -05:00
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