-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add OptimizationSolver with support for QUBO problems. #50
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
…rom problem definition. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
…reen. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
Signed-off-by: Marcus G K Williams <Marcus G K Williams 168222+mgkwill@users.noreply.github.com>
Signed-off-by: Marcus G K Williams <Marcus G K Williams 168222+mgkwill@users.noreply.github.com>
Signed-off-by: Marcus G K Williams <Marcus G K Williams 168222+mgkwill@users.noreply.github.com>
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
…-optimization into optimization_solver
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
…-optimization into optimization_solver
Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com>
mgkwill
approved these changes
Sep 28, 2022
mgkwill
added a commit
that referenced
this pull request
Sep 29, 2022
* Mock of solver and process for SR. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add discrete constraints InPort to solver process. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Adapt QP problem class to new interface and add LP problem class. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Create builder for dynamical creation of OptimizationProblemProcess from problem definition. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Update copyright year. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Update solver to work with the OptimizationSolverProcess builder. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Remove line that breaks linting. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Repair QP tests broken with last release. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add dummy class for dynamically created process to start tests from green. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Delete testing file to be replaced. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Start solver tests with OptimizationSolver instantiation. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test for creation of OptimizationSolverProcess. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Improve OptimizationSolverProcess constructor. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Create auxiliary function that creates Vars from tensor coefficients. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add feature for solver to run continuously when timeout is -1. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Extract method in solver for creating solver process. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Reformat file. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test for macrostate reader process creation by solver model. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add missing attributes to solver. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add method to solver for solver process model creation. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement SolverModelBuilder class and methods. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement VariablesProcesses dataclass. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement DiscreteVariablesProcess. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement ReadGate process. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement SolutionReadOut process. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add missing return in _vars_from_coefficients. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement CostConvergenceChecker process. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement ReadGatePyMoldel. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Correct imports. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement SolutionReadoutPyModel. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add missing import. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement CostConvergenceCheckerModel. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement CostIntegrator process. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement CostIntegratorModel. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement DiscreteVariablesModel. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement StochasticIntegrateAndFire process. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement StochasticIntegrateAndFireModel. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Remove debugging print. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement unit tests for StochasticIntegrateAndFire model. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test for connections between macrostate reader processes. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test to check cost checker is connected to variables population. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test to check cost is represented by connection weights. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test to check cost diagonal is represented as biases. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test to check QUBO cost defines number of discrete variables in process. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test to check the solver terminates when running continuously. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Delete debugging print. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test to check the shape of output solution is correct. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test for solving method in solver. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test for solving a second and larger problem. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Clean up, delete obsolete and temporary classes. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Remove obsolete data-class Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Move dataclasses to independent file. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Apply black to solve linting issues. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Adhere to the dependency inversion principle adding APIs to dataclasses. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Apply black. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Solve remaining linting issues. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Simplify code by delaying use of self. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Improve variables naming. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Improve solver to work with true cost function, solve works now. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Solve parameter naming bug. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Enable solution to map coloring. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add workloads test suite including new max-cut workload. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add set packing workload. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add set partitioning workload. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Improve printing messages for solving. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Squash commit bringing changes from private development. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Repair imports after refactoring. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Repair StochasticIntegrateAndFire tests. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Remove duplicated file Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Make OptimizationSolver tests pass after refactoring. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Bring PS's tutorial from the private repo. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Merge redundant files. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Enable SolutionReadout tests. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Make Loihi2 tests pass except for those requiring workload solution. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Update pyproject.toml * qubo tutorial and unit test * Update ci-build.yml * Remove redundant classes. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add handshaking between LMT and Host to request pause of execution. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Correct typo. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Mock of solver and process for SR. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add discrete constraints InPort to solver process. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Adapt QP problem class to new interface and add LP problem class. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Create builder for dynamical creation of OptimizationProblemProcess from problem definition. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Update copyright year. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Update solver to work with the OptimizationSolverProcess builder. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Remove line that breaks linting. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add dummy class for dynamically created process to start tests from green. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Delete testing file to be replaced. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Start solver tests with OptimizationSolver instantiation. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test for creation of OptimizationSolverProcess. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Improve OptimizationSolverProcess constructor. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Create auxiliary function that creates Vars from tensor coefficients. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add feature for solver to run continuously when timeout is -1. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Extract method in solver for creating solver process. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Reformat file. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test for macrostate reader process creation by solver model. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add missing attributes to solver. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add method to solver for solver process model creation. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement SolverModelBuilder class and methods. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement VariablesProcesses dataclass. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement DiscreteVariablesProcess. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement ReadGate process. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement SolutionReadOut process. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add missing return in _vars_from_coefficients. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement CostConvergenceChecker process. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement ReadGatePyMoldel. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Correct imports. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement SolutionReadoutPyModel. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add missing import. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement CostConvergenceCheckerModel. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement CostIntegrator process. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement CostIntegratorModel. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement DiscreteVariablesModel. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement StochasticIntegrateAndFire process. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement StochasticIntegrateAndFireModel. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Remove debugging print. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Implement unit tests for StochasticIntegrateAndFire model. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test for connections between macrostate reader processes. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test to check cost checker is connected to variables population. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test to check cost is represented by connection weights. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test to check cost diagonal is represented as biases. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test to check QUBO cost defines number of discrete variables in process. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test to check the solver terminates when running continuously. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Delete debugging print. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test to check the shape of output solution is correct. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test for solving method in solver. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add test for solving a second and larger problem. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Clean up, delete obsolete and temporary classes. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Remove obsolete data-class Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Move dataclasses to independent file. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Apply black to solve linting issues. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Adhere to the dependency inversion principle adding APIs to dataclasses. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Apply black. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Solve remaining linting issues. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Simplify code by delaying use of self. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Improve variables naming. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Improve solver to work with true cost function, solve works now. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Solve parameter naming bug. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Enable solution to map coloring. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add workloads test suite including new max-cut workload. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add set packing workload. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add set partitioning workload. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Improve printing messages for solving. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Squash commit bringing changes from private development. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Repair imports after refactoring. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Repair StochasticIntegrateAndFire tests. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Remove duplicated file Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Make OptimizationSolver tests pass after refactoring. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Bring PS's tutorial from the private repo. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Merge redundant files. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Enable SolutionReadout tests. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Make Loihi2 tests pass except for those requiring workload solution. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * qubo tutorial and unit test * Remove redundant classes. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Add handshaking between LMT and Host to request pause of execution. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Correct typo. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Enable noise by default. * Repair import path. * Update test parameters. * Remove test requiring Loihi2 access. * Solve linting issues Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Remove test requiring Loihi2 access. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Solve remaining merge issue. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Solve more lint issues. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Solve linting issues. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Rmove trailing space. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Update import statement. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Change backend for solution readout test. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Make solver tests pass. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Remove support for Loihi for this release. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Update deps, add inits to tests Signed-off-by: Marcus G K Williams <Marcus G K Williams 168222+mgkwill@users.noreply.github.com> * Fix tutorial by removing specific venv kernel Signed-off-by: Marcus G K Williams <Marcus G K Williams 168222+mgkwill@users.noreply.github.com> * Fix tutorial test Signed-off-by: Marcus G K Williams <Marcus G K Williams 168222+mgkwill@users.noreply.github.com> * Add class architecture to Readme. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Update taxonomy diagram. * Update library architecture diagram. * Order images. * Improve equation. * Solve broken lasso tutorial. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Solve lint issue. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> * Correct typos. Signed-off-by: GaboFGuerra <gabriel.fonseca.guerra@intel.com> Signed-off-by: Marcus G K Williams <Marcus G K Williams 168222+mgkwill@users.noreply.github.com> Co-authored-by: Marcus G K Williams <168222+mgkwill@users.noreply.github.com> Co-authored-by: Philipp Stratmann <Philipp.Stratmann@Intel.com> Co-authored-by: Marcus G K Williams <Marcus G K Williams 168222+mgkwill@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue Number:
Objective of pull request:
Add generic OptimizationSolver able to handle OptimizationProblem instances with initial support for QUBO problems.
Pull request checklist
Your PR fulfills the following requirements:
pyb
) passes locallypyb -E unit
) or (python -m unittest
) passes locallyPull request type
Please check your PR type:
What is the current behavior?
What is the new behavior?
Does this introduce a breaking change?
Supplemental information