optimization-or

Installation
SKILL.md

Operations Research and Mathematical Optimization

TL;DR — Formulate and solve LP, QP, and MILP problems using cvxpy and OR-Tools. Covers standard form, dual variables / shadow prices, sensitivity analysis, solver selection (GLPK, ECOS, SCS, Gurobi), OR-Tools CP-SAT, and portfolio optimization.


When to Use

Use this Skill when you need to:

  • Solve resource allocation, scheduling, or routing problems as linear programs (LP).
  • Handle binary / integer decisions (facility location, knapsack, assignment) via MILP.
  • Optimize a quadratic objective (portfolio variance, regression) via QP.
  • Perform post-solve sensitivity analysis: shadow prices, reduced costs, allowable ranges.
  • Switch between open-source solvers (GLPK, ECOS, SCS) and commercial ones (Gurobi).
  • Model constraint satisfaction problems with OR-Tools CP-SAT.
Installs
10
GitHub Stars
38
First Seen
Mar 30, 2026