Commit Graph

187 Commits (5075a3c2f2dff86dfe844dcabde3a279041a52c8)

Author SHA1 Message Date
Alinson S. Xavier 2979bd157c
Rewrite PrimalSolutionComponent.sample_xy
5 years ago
Alinson S. Xavier d90d7762e3
Rewrite ObjectiveValueComponent.sample_xy
5 years ago
Alinson S. Xavier 2da60dd293
Rename methods that use TrainingSample to _old
5 years ago
Alinson S. Xavier 088d679f61
Redesign InternalSolver constraint methods
5 years ago
Alinson S. Xavier f70363db0d
Replace build_lazy_constraint by enforce_lazy_constraint
5 years ago
Alinson S. Xavier 3edc8139e9 Improve logging
5 years ago
Alinson S. Xavier 6330354c47 Remove EnforceOverrides; automatically convert np.ndarray features
5 years ago
Alinson S. Xavier 96093a9b8e
Enforce more overrides
5 years ago
Alinson S. Xavier 1cf6124757
Refer to variables by varname instead of (vname, index)
5 years ago
Alinson S. Xavier 856b595d5e PickleGzInstance: Replace implicit load by load/free methods
5 years ago
Alinson S. Xavier f495297168
Remove experimental LP components
5 years ago
Alinson S. Xavier f90f295620
Reorganize instance package
5 years ago
Alinson S. Xavier 3543a2ba92
Optimize imports
5 years ago
Alinson S. Xavier 332cdbd839
Update copyright year
5 years ago
Alinson S. Xavier 9e7eed1dbd
Finish rewrite of user cuts component
5 years ago
Alinson S. Xavier 9f2d7439dc
Add user cut callbacks; begin rewrite of UserCutsComponent
5 years ago
Alinson S. Xavier cfb17551f1
Make sample_xy an instance method
5 years ago
Alinson S. Xavier 54c20382c9
Finish DynamicLazyConstraintsComponent rewrite
5 years ago
Alinson S. Xavier c6aee4f90d
Make sample_ method accept instance
5 years ago
Alinson S. Xavier bb91c83187
LazyDynamic: Rewrite fit method
5 years ago
Alinson S. Xavier 6e326d5d6e
Move feature classes to features.py
5 years ago
Alinson S. Xavier b11779817a
Convert TrainingSample to dataclass
5 years ago
Alinson S. Xavier aeed338837
Convert ConstraintFeatures to dataclass
5 years ago
Alinson S. Xavier 94084e0669
Convert InstanceFeatures into dataclass
5 years ago
Alinson S. Xavier d79eec5da6
Convert VariableFeatures into dataclass
5 years ago
Alinson S. Xavier 59f4f75a53
Convert Features into dataclass
5 years ago
Alinson S. Xavier 025e08f85e
LazyStatic: Use dynamic thresholds
5 years ago
Alinson S. Xavier 08e808690e
Replace InstanceIterator by PickleGzInstance
5 years ago
Alinson S. Xavier 6e614264b5
StaticLazy: Refactor
5 years ago
Alinson S. Xavier 168f56c296
Fix typos
5 years ago
Alinson S. Xavier ea5c35fe18
Objective: Refactoring
5 years ago
Alinson S. Xavier 185b95118a
Objective: Rewrite sample_evaluate
5 years ago
Alinson S. Xavier 7af22bd16b
Refactor ObjectiveValueComponent
5 years ago
Alinson S. Xavier 0bce2051a8 Redesign component.evaluate
5 years ago
Alinson S. Xavier 0c687692f7 Make all before/solve callbacks receive same parameters
5 years ago
Alinson S. Xavier 8eb2b63a85 Primal: Refactor stats
5 years ago
Alinson S. Xavier ef556f94f0 Rename xy_sample to xy
5 years ago
Alinson S. Xavier bc8fe4dc98 Components: Switch from factory methods to prototype objects
5 years ago
Alinson S. Xavier b83911a91d Primal: Add end-to-end tests
5 years ago
Alinson S. Xavier db2f426140 Primal: reactivate before_solve_mip
5 years ago
Alinson S. Xavier fe7bad885c Make xy_sample receive features, not instances
5 years ago
Alinson S. Xavier 8fc9979b37 Use instance.features in LazyStatic and Objective
5 years ago
Alinson S. Xavier 0f5a6745a4 Primal: Refactoring
5 years ago
Alinson S. Xavier 4f46866921 Primal: Use instance.features
5 years ago
Alinson S. Xavier 12fca1f22b Extract all features ahead of time
5 years ago
Alinson S. Xavier b3c24814b0 Refactor PrimalSolutionComponent
5 years ago
Alinson S. Xavier ec69464794 Refactor primal
5 years ago
Alinson S. Xavier 1224613b1a Implement component.fit, component.fit_xy
5 years ago
Alinson S. Xavier 205a972937 Add StaticLazyComponent.xy
5 years ago
Alinson S. Xavier 07388d9490 Remove unused composite component
5 years ago
Alinson S. Xavier 64a63264c7 Rename xy to xy_sample
5 years ago
Alinson S. Xavier e8adeb28a3 Add ObjectiveValueComponent.xy
5 years ago
Alinson S. Xavier 9266743940 Add Component.xy and PrimalSolutionComponent.xy
5 years ago
Alinson S. Xavier 75d1eee424 DropRedundant: Make x_y parallel
5 years ago
Alinson S. Xavier 3b61a15ead Add after_solve_lp callback; make dict keys consistent
5 years ago
Alinson S. Xavier 6ae052c8d0 Rename before/after_solve to before/after_solve_mip
5 years ago
Alinson S. Xavier bca6581b0f DropRedundant: Clear pool before each solve
5 years ago
Alinson S. Xavier 31ca45036a Organize test fixtures; handle infeasibility in DropRedundant
5 years ago
Alinson S. Xavier 8153dfc825 DropRedundant: Update for new classifier interface
5 years ago
Alinson S. Xavier 9abcea05cd Objective: Use LP value as feature
5 years ago
Alinson S. Xavier 603902e608 Refactor ObjectiveComponent
5 years ago
Alinson S. Xavier edd0c8d750 Remove RelaxationComponent
5 years ago
Alinson S. Xavier a97089fc34 Primal: Add tolerance in binary check
5 years ago
Alinson S. Xavier 203afc6993 Primal: Compute statistics
5 years ago
Alinson S. Xavier b0b013dd0a Fix all tests
5 years ago
Alinson S. Xavier 3ab3bb3c1f Refactor PrimalSolutionComponent
5 years ago
Alinson S. Xavier f68cc5bd59 Refactor thresholds
5 years ago
Alinson S. Xavier f90d78f802 Move tests to separate folder
5 years ago
Alinson S. Xavier f755661fa6 Simplify BenchmarkRunner; update docs
5 years ago
Alinson S. Xavier c342a870d1 Minor fixes to docstrings; make some classes private
5 years ago
Alinson S. Xavier 7dbbfdc418 Minor fixes
5 years ago
Alinson S. Xavier d500294ebd Add more types to LearningSolver
5 years ago
Alinson S. Xavier fc0835e694 Add type annotations to components
5 years ago
Alinson S. Xavier 06402516e6 Move collected data to instance.training_data
5 years ago
Alinson S. Xavier 23dd311d75 Reorganize imports; start moving data to instance.training_data
5 years ago
Alinson S. Xavier a536d2ecc6 Fix various warnings
5 years ago
Alinson S. Xavier 34e1711081 Remove incorrect import
5 years ago
Alinson S. Xavier ffc77075f5 Require a callable as the internal solver
5 years ago
Alinson S. Xavier 088a4a0355
Fix formatting
5 years ago
Alinson S. Xavier 5a062ad97e
ConvertTight: Use x function from DropRedundant
5 years ago
Alinson S. Xavier 7e4b1d77a3
DropRedundant: Collect data from multiple runs
5 years ago
Alinson S. Xavier e12a896504
Add training_data argument to after_solve
5 years ago
Alinson S. Xavier beee252fa2
simulate_perfect: Do not overwrite original file
5 years ago
Alinson S. Xavier b01d97cc2b
ConvertTight: Always check feasibility
5 years ago
Alinson S. Xavier d67af4a26b
ConvertTight: Detect and fix sub-optimality
5 years ago
Alinson S. Xavier c9ad7a3f56
Benchmark: Add extra columns to CSV
5 years ago
Alinson S. Xavier f77d1d5de9
ConvertTight: Detect and fix infeasibility
5 years ago
Alinson S. Xavier 3f1aec7fad RelaxationComponent: Always use np arrays
5 years ago
Alinson S. Xavier 4057a65506 ConvertTightIneqs: Convert only inequalities, not equalities
5 years ago
Alinson S. Xavier 1e3d4482f4 ConvertTightIneqs: Reduce default slack_tolerance to zero
5 years ago
Alinson S. Xavier 317e16d471 ConvertTight: Don't take any action on constraints with negative slack
5 years ago
Alinson S. Xavier d8dc8471aa Implement tests for ConvertTightIneqsIntoEqsStep
5 years ago
Alinson S. Xavier 0377b5b546 Minor changes to docstrings
5 years ago
Alinson S. Xavier 191da25cfc Split relaxation.py into multiple files
5 years ago
Alinson S. Xavier 144ee668e9 Fix failing tests
5 years ago
Alinson S. Xavier 4a26de5ff1 RelaxationComponent: Convert tight inequalities into equalities
5 years ago
Alinson S. Xavier 8bb9996384 Break down RelaxationComponent into multiple steps
5 years ago
Alinson S. Xavier 6540c88cc5 Component: Add default implementations to all methods
5 years ago
Alinson S. Xavier 94b493ac4b Implement CompositeComponent
5 years ago
Alinson S. Xavier d99600f101 Reformat source code with Black; add pre-commit hooks and CI checks
5 years ago