Lawfare Group → Knowledge Institute → Lawfare Academy

← Course syllabus · Related lesson

Verify linear optima and distinguish executable integer decisions

Current complete on-site native edition3

All required original teaching, complete derivations and optional practice models are on LawfareGroup.com. External references are optional provenance or further reading. Florida is the state-law default; federal, historical and comparative contexts remain distinct. Independent human subject review and observed learner testing remain pending. Written business-analytics preparation establishes no actual legal opinion, technical clearance, licensing approval, funding authorization or observed professional competence.

Preserved and additional cumulative dossiers

Original extended teaching; see the linked current course-content review for its development status. Practice is optional; independent academic review and learner testing remain pending.

Learning objectives

A linear model is an explicit approximation

A linear objective adds contribution proportional to each activity. Linear resource rows add proportional consumption. Nonnegativity, demand, cash and other constraints define the feasible set. State whether variables are divisible quantities or whole projects. A fractional truck, hire or customer commitment is not executable merely because a solver reports a precise answer. Setups and minimum commitments can require additional decision variables or finite enumeration.

Contribution is not necessarily total profit or cash. If a project’s net benefit already includes its up-front cost, the same cost can still appear in a budget constraint without being subtracted from the objective again. The budget limits feasible use; the objective values the decision under its definition. Explain the units and dates so the same dollar is not counted twice.

Geometry separates feasibility from optimality

For a bounded two-variable continuous model, evaluate feasible vertices when an optimum exists; an entire edge can tie. Solve candidate intersections and substitute them into every resource and nonnegativity condition. An intersection is not necessarily feasible. An empty feasible set means requirements conflict, while an unbounded objective can reveal a missing resource or demand limit. Neither should be converted into an arbitrary answer.

Compare the objective at all relevant feasible vertices and retain ties. A solver status reports its mathematical task and tolerances; it does not validate economic meaning, actual resource availability or omitted alternatives. A small independent geometric solution is an effective check before trusting a larger formulation.

A dual bound can certify a continuous result

For a maximization with nonnegative activities and upper resource bounds, nonnegative resource prices that cover every activity’s contribution provide an upper bound on any feasible objective. Multiply resource prices by available quantities. If a feasible production plan reaches that bound, no other feasible continuous plan can do better under the model. This is a mathematical certificate, not an actual supplier quotation or universal market price.

The interpretation depends on formulation and local conditions. A binding constraint can have zero scarcity value when another condition prevents useful expansion; degeneracy can complicate simple stories. Reduced costs and complementary slackness are diagnostics under the relevant linear-programming assumptions. Explain their resource and objective units and test finite changes rather than turn a multiplier into unlimited purchase authority.

Whole units and setup require the correct feasible set

The continuous feasible set contains its integer subset, so its optimum is an upper bound for the same integer maximization. Rounding can violate resources or miss a better whole combination. Enumerate small ranges or use an appropriate integer formulation. A fixed activation cost applies when an activity is used, not proportionally to every unit unless the actual contract says so.

Compare the best plan after adding setup with a plan avoiding the activity entirely. A positive contribution before activation may fail to cover the cost. When capacity changes, the integer value can jump; the continuous derivative need not equal the gain from one whole resource unit. Preserve both results with their distinct meanings and verify qualification, demand, sequencing and funding before translating either into action.

Worked example: A primal/dual certificate with a fractional optimum

Maximize 30 x+50 y subject to 2 x+y≤10, x+2 y≤10 and nonnegative divisible quantities. The resource intersection is x=y=10/3, contribution 800/3≈266.666667. Axis endpoints(5, 0) and(0, 5) give 150 and 250. Dual resource pricesu=10/3 and v=70/3 satisfy 2 u+v=30 and u+2 v=50; their value 10 u+10 v=800/3 matches the feasible intersection, certifying its continuous optimum. These prices are model units per resource unit, not real procurement prices.

Worked example: Integer and activation facts reverse implementation

For whole x, y under the same resources, exhaustive enumeration givesx 2, y 4, contribution 260, using 8 of the first resource and 10 of the second. Rounding the continuous pair down to 3, 3 gives 240 and loses 20. If any positive y needs 120 activation cost, the best y-using plan gives 260−120=140, below x-only 5 at 150. Choose x-only under those new facts. If the first resource rises to 11 with no activation cost, integer 4, 3 gives 270, a 10 improvement from 260; the continuous value rises only 10/3. Different feasible sets explain the difference.

Progressive optional practice

Attempt each problem before opening its model. Then revise the reasoning under the changed conditions.

Foundation

Explain why the dual prices certify the continuous optimum but do not make fractional jobs executable.

Compare the model reasoning

Every feasible activity’s contribution is covered by the nonnegative resource-price bound, and the intersection reaches that bound. Whole-job constraints still remove fractional choices; the continuous result is a benchmark, not an implementation permission.

Changed conditions

Actual y must be an even whole number.

Compare the revised analysis

Add that restriction and re-enumerate. Do not assume the earlier integer or continuous result remains valid without checking the changed feasible set.

Application

Compare continuous, rounded-down and best integer outputs.

Compare the model reasoning

Continuous(10/3, 10/3) yields 266.666667; rounded(3, 3) yields 240; integer(2, 4) yields 260. Substitute into both rows and preserve the upper-bound interpretation.

Changed conditions

Activation for y is 25 rather than 120.

Compare the revised analysis

Best y-using integer plan nets 235, above x-only 150. The activation fact changes the action; do not charge 25 per y unit or omit it because it does not change the linear derivative.

Transfer and judgment

Prepare a handoff explaining the best executable choice and limits of the certificate.

Compare the model reasoning

Specify units, objective boundary, all resources and integer/setup assumptions, show feasibility and the continuous bound, enumerate relevant whole choices, and identify actual demand/qualification/funding evidence and a strong rival.

Changed conditions

The solver omitted a necessary service constraint discovered after the result.

Compare the revised analysis

Correct the formulation, preserve the old run as incomplete and solve again. A disclaimer beside the old optimum does not repair an infeasible recommendation.

Current development backlog and remaining course work · Course content review

Source readings and scope

Principles of Finance — 16.2 Net Present Value (NPV) Method — Optional preserved reference or further reading. Complete current original on-site studios and retained full applications supply all required preparation; no outside visit is needed. No affiliation or independent review is claimed.

Principles of Finance — 16.5 Choosing between Projects — Optional preserved reference or further reading. Complete current original on-site studios and retained full applications supply all required preparation; no outside visit is needed. No affiliation or independent review is claimed.

Advanced companion: MIT OpenCourseWare — Data, Models, and Decisions — Optional preserved reference or further reading. Complete current original on-site studios and retained full applications supply all required preparation; no outside visit is needed. No affiliation or independent review is claimed.

MIT OCW — Mathematical Programming lecture index — Optional preserved reference or further reading. Complete current original on-site studios and retained full applications supply all required preparation; no outside visit is needed. No affiliation or independent review is claimed.

MIT OCW — Duality, geometry and degeneracy (lecture 9 download), 2009 — Optional preserved reference or further reading. Complete current original on-site studios and retained full applications supply all required preparation; no outside visit is needed. No affiliation or independent review is claimed.

MIT OCW — Discrete optimization I, 2009 — Optional preserved reference or further reading. Complete current original on-site studios and retained full applications supply all required preparation; no outside visit is needed. No affiliation or independent review is claimed.

Reproduce the worked examples in Python 3. Standard library only; synthetic data; no production records or network access.