Commit Graph

41 Commits

Author SHA1 Message Date
5b54153a3a Use np in Constraints.lazy; replace some get_vector 2021-08-09 06:27:03 -05:00
0c4b0ea81a Use np.ndarray in Variables 2021-08-05 15:42:19 -05:00
4224586d10 Remove sample.{get,set} 2021-07-27 09:00:04 -05:00
4093ac62fd Remove sample.after_mip 2021-07-01 11:45:19 -05:00
80281df8d8 Replace instance.samples by instance.get/push_sample 2021-06-29 16:49:24 -05:00
46a7d3fe26 BenchmarkRunner.fit: Only iterate through files twice 2021-06-28 09:32:30 -05:00
52093eb1c0 Combine np.ndarray conversion with rounding 2021-05-20 11:18:17 -05:00
f9ac65bf9c Remove tuples from VariableFeatures 2021-05-20 10:03:18 -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
0ba8cc16fd GurobiSolver: Implement relax/enforce constraint 2021-04-15 15:22:12 -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
c4a6665825 Remove obsolete methods 2021-04-13 09:42:25 -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
735884151d Reorganize callbacks 2021-04-10 09:04:34 -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
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
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
b11779817a Convert TrainingSample to dataclass 2021-04-05 20:36:04 -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
08e808690e Replace InstanceIterator by PickleGzInstance 2021-04-04 14:56:33 -05:00
ea5c35fe18 Objective: Refactoring 2021-04-03 19:10:29 -05:00
0c687692f7 Make all before/solve callbacks receive same parameters 2021-04-02 07:05:16 -05:00
12fca1f22b Extract all features ahead of time 2021-03-31 07:42:01 -05:00
3b61a15ead Add after_solve_lp callback; make dict keys consistent 2021-03-30 10:05:28 -05:00
1397937f03 Add first model feature (constraint RHS) 2021-03-02 17:21:05 -06:00
31ca45036a Organize test fixtures; handle infeasibility in DropRedundant 2021-02-02 10:24:51 -06:00
603902e608 Refactor ObjectiveComponent 2021-01-26 22:16:46 -06:00
b0b013dd0a Fix all tests 2021-01-25 15:19:58 -06:00
f90d78f802 Move tests to separate folder 2021-01-22 07:42:28 -06:00