Add multi-objective supplier sourcing example (QP frontier + duals)#156
Open
cafzal wants to merge 4 commits into
Open
Add multi-objective supplier sourcing example (QP frontier + duals)#156cafzal wants to merge 4 commits into
cafzal wants to merge 4 commits into
Conversation
…liability frontier + duals) Signed-off-by: cafzal <cameron.afzal@gmail.com>
…nventions Signed-off-by: cafzal <cameron.afzal@gmail.com>
…force sibling) Signed-off-by: cafzal <cameron.afzal@gmail.com>
Signed-off-by: cafzal <cameron.afzal@gmail.com>
Contributor
Author
|
@rgsl888prabhu new multi-objective example – supplier-sourcing QP, concentration-vs-reliability frontier + duals; same shape as the #151 examples. Ready for review. |
This file contains hidden or 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
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.
Multi-objective supplier sourcing example — companion to the
cuopt-multi-objective-explorationskillA new
supplier_selection/example demonstrating multi-objective Pareto-frontier exploration with cuOpt on a procurement decision — the workflow packaged as thecuopt-multi-objective-explorationskill (NVIDIA/cuopt#1355). It completes the multi-objective family alongside the #151 examples (finance QP, workforce MILP) with a supply-chain QP.supplier_selection/supplier_sourcing_frontier_duals.ipynb(QP) — one order is split across suppliers when reliability and diversification conflict: the reliable suppliers cluster, so demanding higher reliability concentrates the order. Minimizes concentration riskwᵀ C w(a dense quadratic, built viaQuadraticExpression(qmatrix=...)) subject to a fully-allocated order, a per-supplier cap, and a unit-cost budget; traces the concentration-vs-reliability frontier by ε-constraint (sweep the reliability floor) and reads each point's dual — the sensitivity d(concentration)/d(reliability), the diversification given up per added point of reliability.Reuses the repo's notebook idiom (GPU check →
cuopt-cu12install → solve), ships output-stripped (repo convention — every cuopt-examples notebook has 0 cell outputs; run evidence below), with self-contained synthetic data.User testing
Built by following the skill, then run end-to-end on Colab T4, cuOpt-cu12 — clean, no API errors:
Optimal(0PrimalFeasible). A single solve was only ever one point on it.Notes
Optimal(e.g.PrimalFeasible) frontier point is flagged in the sweep output; none occurred here.QuadraticExpression(qmatrix=...)) rather than a term-by-term loop — the scalable pattern for a denseQ.Companion to the
cuopt-multi-objective-explorationskill (NVIDIA/cuopt#1355).