Lawfare Group → Knowledge Institute → Lawfare Academy

← Course syllabus · Related lesson

Optimization clinic: defend the model, calculation and feasible recommendation

Complete current on-site edition 3

All required teaching, source summaries, worked examples and complete optional models are supplied on LawfareGroup.com. External publisher references are optional provenance or further reading. Practice and assessments remain optional. Contemporary state-law defaults are Florida; federal, historical and comparative material retain their stated scope.

Complete cumulative dossier, model, revisions and 30-point rubric

Preserved original economic teaching and optional practice, integrated with the current complete on-site units above. Independent subject review and observed learner testing remain pending.

Learning objectives

Prepare a dossier rather than a list of formulas

The Cedar clinic asks for a written decision memo supported by a reproducible calculation ledger. Begin with the precise decision, horizon, alternatives and authority boundary. Identify whether the task concerns a weekly output, an opening choice, a resource allocation or a vehicle count. They are connected applications of mathematical reasoning, not interchangeable quantities.

For the base output case use P=100−Q and C=200+20Q, with nonnegative modeled price and output. Treat Q first as continuous and then as integer. Evaluate both a 40-unit available-capacity scenario and a 30-unit capacity scenario. Explain why revenue and profit objectives differ and why the cost's avoidability affects the closed alternative.

For the new marginal-cost scenario, useMC=20+0.4Q andC(0)=200. Derive the new total cost before constructing profit. Do not paste the base-case optimum into the changed model. Include the accumulated cost from 10 to 20 and explain why it is not the total cost at 20.

Work through the changed cost model

The new profit is π(Q)=100Q−Q²−(200+20Q+0.2Q²)=80Q−1.2Q²−200. Its derivative is 80−2.4Q, yielding Q*=100/3, approximately 33.333. The negative second derivative−2.4 gives strict concavity. Compare endpoints and enforce capacity before recommending an implemented choice.

If capacity is 30, choose 30 in the continuous model and profit is 2400−1080−200=1120. If capacity is 40 and whole products are required, compare 33 and 34. Their profits are 1133.2 and 1132.8 respectively; 33 is better. The continuous maximum is 3400/3, approximately 1133.333, so the small relaxation gap does not justify producing a fraction of a product.

State the coefficient and unit conventions in the ledger. Keep exact fractions during derivation, display meaningful precision for interpretation and distinguish rounding presentation from changing the feasible decision. A model with uncertain demand cannot promise the fractional-dollar precision of its arithmetic as a realized outcome.

Integrate allocation, accumulation and robustness without mixing scenarios

Add the training resource file with B=12x−x²+8y−y² andx+y≤6. Show the substitution solution(4, 2), benefit 44 and local multiplier 4. Compare one additional resource hour using the exact new optimum and explain the resulting 3.5 benefit increase. Test the slack-resource caseb=11 without forcing every hour to be used.

Include the vehicle comparison under both the smooth objective and the fourth-vehicle threshold. Describe why a derivative can guide a relaxed problem while the final finite choices require direct evaluation. These files demonstrate distinct mechanisms; combining their benefit index, dollar profit and vehicle values into one total would be dimensionally invalid without a new justified objective.

Give the strongest objection to the recommendation: unverified demand, unsuitable index, omitted threshold or unavailable resource. Identify which missing evidence would alter the conclusion and what would remain mathematically true if the real-world assumption failed. The appropriate response to invalid empirical inputs is model revision, not more decimal places.

Use an explicit cumulative rubric and preserve the evidence boundary

The optional submission has five equally weighted dimensions, each scored 0–4. Model specification earns 4 for explicit variables, units, horizon, feasible domain, objective and assumption provenance; 2 for a usable model with a material ambiguity; 0 for an incompatible objective or missing domain. Derivation earns 4 for correct marginal, integral and candidate calculations with sufficient intermediate reasoning; 2 for a mostly correct path with a significant unexplained step; 0 for unsupported or contradictory computations.

Feasible choice earns 4 for all relevant stationary, endpoint, threshold and discrete comparisons with a justified global claim; 2 for partial comparisons that do not yet establish the recommendation; 0 for an infeasible answer. Interpretation earns 4 for correct marginal-versus-finite, level-versus-change and multiplier units with clear empirical limits; 2 for an important omitted qualification; 0 for turning arithmetic into an unsupported causal, cash or welfare claim. Transfer earns 4 for a coherent changed-cost, changed-capacity and threshold reanalysis plus a serious objection and source register; 2 for a partially updated model; 0 for repeating the original recommendation after a material assumption changes.

A total out of 20 helps organize feedback but does not override a critical error. An infeasible recommendation, mixed scenario, fabricated source or unsupported claim needs correction regardless of the total. All practice is optional and leaves learner records unchanged. Internal editorial acceptance describes written teaching at this bridge scope; independent subject review and observed learner testing remain pending. The laboratory verifies supplied arithmetic only, and written study does not establish a degree, accreditation or professional approval.

Worked example: Reconstruct the integer choice under rising marginal cost

AtQ=33, π=2640−1.2(1089)−200=1133.2. At 34, π=2720−1.2(1156)−200=1132.8. Strict concavity and the continuous peak between them justify comparing these adjacent feasible integers when no other constraint or threshold intervenes.

Worked example: Explain the relaxation gap

The continuous peak isQ=100/3 and profit 3400/3. The integer choice 33 yields 5666/5. Their difference is 2/15, about 0.1333. This is a model relaxation gap, not a measure of demand-estimation uncertainty or a guaranteed cash loss.

Progressive optional practice

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

Guided

What must change when marginal cost changes?

Compare the model reasoning

Integrate the new marginal cost with its initial condition, reconstruct profit and resolve the feasible optimization.

Changed conditions

Capacity remains 30.

Compare the revised analysis

The selected quantity stays 30 but new modeled profit is 1120, not the base 1300.

Independent

Why does the integer result 33 not contradict the continuous 33.333?

Compare the model reasoning

The continuous problem relaxes the whole-product restriction; compare feasible integer objectives.

Changed conditions

A minimum order requires an even quantity.

Compare the revised analysis

Evaluate the new feasible neighbors 32 and 34 and any other relevant alternatives; 33 is no longer available.

Transfer

Can a passing laboratory certify the business recommendation?

Compare the model reasoning

No. It validates supplied arithmetic, not empirical demand, resource availability, legal authority or professional competence.

Changed conditions

Actual sales contradict the assumed demand schedule.

Compare the revised analysis

Leave empirical validity open, diagnose the discrepancy and rebuild the model before claiming an actual optimum.

Preserved earlier development snapshot · Course content review

Source readings and scope

Calculus Volume 1 — 4.3 Maxima and Minima — Optional publisher provenance and further reading only. The complete required mathematical preparation, economic interpretation and source summaries are supplied in the current on-site units above. Academy economic functions are stipulated hypothetical models, not empirical estimates or forecasts. Florida is the state-law default; federal and comparative material remain distinct. Route verified October 27, 2026.

Calculus Volume 1 — 4.7 Applied Optimization Problems — Optional publisher provenance and further reading only. The complete required mathematical preparation, economic interpretation and source summaries are supplied in the current on-site units above. Academy economic functions are stipulated hypothetical models, not empirical estimates or forecasts. Florida is the state-law default; federal and comparative material remain distinct. Route verified October 27, 2026.

Calculus Volume 1 — 5.4 Integration Formulas and the Net Change Theorem — Optional publisher provenance and further reading only. The complete required mathematical preparation, economic interpretation and source summaries are supplied in the current on-site units above. Academy economic functions are stipulated hypothetical models, not empirical estimates or forecasts. Florida is the state-law default; federal and comparative material remain distinct. Route verified October 27, 2026.

Calculus Volume3 —4.8 Lagrange Multipliers — Optional publisher provenance and further reading only. The complete required mathematical preparation, economic interpretation and source summaries are supplied in the current on-site units above. Academy economic functions are stipulated hypothetical models, not empirical estimates or forecasts. Florida is the state-law default; federal and comparative material remain distinct. Route verified October 27, 2026.

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