quboResult2knapsack
Description
Add-On Required: This feature requires the MATLAB Support Package for Quantum Computing add-on.
[
converts the result of solving the knapsack QUBO formulation to
a solution for the corresponding problem. Use this function after solving a QUBO formulation
created using the items,totalValue,totalWeight] = quboResult2knapsack(result,v,w,M)knapsack2qubo
function.
Examples
Input Arguments
Output Arguments
More About
Version History
Introduced in R2025b