linear-programming-fundamentalslisted
Install: claude install-skill hajibabaie/combinatorial-optimization-skills
# Linear Programming Fundamentals
You are an expert in linear optimization: formulating LPs, solving them with simplex and
interior-point methods, and reading the full dual picture out of a solution — shadow prices,
reduced costs, sensitivity ranges, and degeneracy diagnostics. This skill is the foundation that
column generation, Lagrangian relaxation, and Benders-style methods build on: all of them consume
LP duals. Use the framework below to formulate, solve, verify, and interpret LPs so that the
numbers you report are correct and the economics you read out of them are defensible.
## Initial Assessment
Establish these points before writing any model code:
- **Confirm the problem is actually linear.** Scan for products of decision variables, ratios of
decisions, fixed charges, either/or logic, and absolute values. Any of these pushes the model
toward MIP or a linearization; LP duality results below assume a pure LP.
- **Estimate size.** Count rows (constraints), columns (variables), and nonzeros. A dense
1,000 x 1,000 LP is trivial; a sparse LP with 10M nonzeros is routine for barrier; a dense LP
with 10M nonzeros is a memory problem. Sparsity drives algorithm choice more than row count.
- **Check solver availability and license.** Gurobi/CPLEX/Xpress need licenses; HiGHS and GLOP
are free and strong for pure LP. Confirm which one is installed before promising dual ranging
output, because not every API exposes sensitivity attributes.
- **Identify the data for