Lawfare Group → Knowledge Institute → Lawfare Academy

← Course syllabus · Related lesson

Choose the best feasible schedule and price additional capacity

Current complete on-site edition 3

Required teaching and complete optional models are supplied on LawfareGroup.com. Publisher and primary links are optional provenance or further reading. Florida is the contemporary state-law default; federal rules and explicitly comparative material are distinguished. Independent subject review and observed human learner testing remain pending.

Cumulative information-system dossier, transfer models and 30-point rubric

Preserved original teaching integrated with complete current on-site preparation. Independent human subject review and observed learner testing remain pending.

Learning objectives

Write every constraint in operational terms

Return to the Harbor scheduling file: routine jobs x use two hours and contribute 80 each; complex jobs y use three hours and contribute 150. Usable hours are twelve, demand ceilings are x≤4 and y≤3, and both counts are nonnegative integers. The objective is 80x+150y. A resource constraint and a demand ceiling answer different questions; increasing available hours does not manufacture additional customers.

Because only twenty possible pairs satisfy the two demand bounds before the hours test, the laboratory can enumerate them all. Reject any pair exceeding twelve hours, compute contribution for the remaining pairs and compare every feasible score. The unique optimum is x=3, y=2, using twelve hours and contributing 540. This direct method is practical for the small teaching case and provides a transparent independent check.

Larger real problems can require an appropriate solver, but the model still needs verified input units, bounds, objective signs and variable types. A maximization translated into minimization reverses objective coefficients; it does not reverse resource inequalities. Solver success means it solved its supplied problem under its algorithmic tolerances, not that the problem matches operations.

A fractional solution can be a bound rather than a plan

If jobs could be divided continuously, complex contribution per hour is fifty while routine contribution per hour is forty. Fill three complex jobs first, consuming nine hours, then use the remaining three hours for one and a half routine jobs. The continuous relaxation gives x=1.5, y=3 and contribution 570. Every integer-feasible schedule is feasible in that relaxation, so 570 is an upper bound on the integer optimum under these same constraints.

Rounding down produces x=1, y=3 and contribution 530, which is feasible but inferior to x=3, y=2 at 540. Rounding x upward to two while retaining three complex jobs uses thirteen hours and violates capacity. Rounding is therefore neither an optimality proof nor automatically feasible.

The relaxation gap is thirty in this file. It does not mean that a real half-job can be scheduled or that the firm has lost thirty through poor management. Indivisibility is part of the problem. If jobs can genuinely be split across periods, add completion, carryover and timing rules rather than simply deleting integrality.

Value the actual capacity increment

With thirteen usable hours and unchanged demand ceilings, x=2, y=3 gives contribution 610 and is the integer optimum. One extra hour therefore improves achievable contribution by seventy compared with the original 540. With fourteen hours, x=4, y=2 gives 620, so two extra hours improve the original by eighty. The second extra hour adds only ten relative to the thirteen-hour optimum.

These uneven increments arise from discrete job combinations. Multiplying one hour's seventy value by two would overstate the two-hour benefit. A continuous shadow price is a local statement within its validity range and may not price an integer capacity package correctly. Compare the actual feasible objectives for the package under consideration.

If the two-hour package costs ninety in new incremental expense, net contribution is 620-90=530, below the original 540. Reject it under this isolated objective. If the one-hour package costs fifty, net is 610-50=560, improving by twenty. Availability, service quality, timing and any legal working-hour constraints need actual evidence before a real schedule can be adopted; the fictional hours are not employment rules.

Sensitivity asks what would reverse the recommendation

Let complex-job contribution be c while other inputs remain fixed. Compare x=3, y=2 with x=1, y=3: their objectives are 240+2c and 80+3c. They tie at c=160. At c=150 the first is better; at c=170 the second gives 590 versus 580. Full feasible enumeration still checks whether a third schedule overtakes them under another value.

If a supposedly available twelve hours is reduced by travel, or callbacks change job duration, re-solve the complete model. A favorable coefficient adjustment cannot excuse an infeasible schedule. Uncertainty in demand ceilings may require scenarios or a recourse model instead of treating a forecast mean as a guaranteed bound.

Use the full current on-site investment and optimization methods for complete alternative comparisons and formulation; source links remain optional provenance. The standard-library laboratory needs no external solver. Optional exercises examine rounding, capacity packages and changed contributions. A decision memo should report the feasible plan, the baseline, the model boundary and the parameter that could change the action.

Worked example: Enumeration avoids misleading rounding

The continuous solution (1.5, 3) scores 570. Rounding down scores 530, rounding up violates hours, and complete integer enumeration finds (3, 2) scoring 540.

Worked example: Discrete capacity value is not a constant hourly quote

At capacities twelve, thirteen and fourteen, optimal scores are 540, 610 and 620. The first additional hour is worth seventy, the next ten; a two-hour package costing ninety leaves only 530.

Progressive optional practice

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

Guided

State the twelve-hour integer optimum.

Compare the model reasoning

Three routine and two complex jobs, contribution 540.

Changed conditions

A manager rounds the relaxed solution up to two routine and three complex.

Compare the revised analysis

It uses thirteen hours and is infeasible under the original capacity.

Independent

Is a two-hour package worth ninety under this file?

Compare the model reasoning

No: it increases gross contribution only eighty, leaving net 530 versus 540.

Changed conditions

A one-hour package is available for fifty.

Compare the revised analysis

Its optimized gross contribution is 610 and net 560, twenty above the baseline.

Transfer

At what complex contribution do the two specified schedules tie?

Compare the model reasoning

c=160 from 240+2c=80+3c.

Changed conditions

Complex contribution rises to 170.

Compare the revised analysis

The (1, 3) schedule scores 590 versus 580 for (3, 2). Enumerate the full feasible set to confirm the new optimum.

Preserved historical development snapshot · Course content review

Source readings and scope

Principles of Finance — 16.2 Net Present Value (NPV) Method — Optional preserved publisher provenance; all required concepts, derivations, worked examples and practice are supplied in the complete current on-site studios. The original route-check date is historical.

Principles of Finance — 16.5 Choosing between Projects — Optional preserved publisher provenance; all required concepts, derivations, worked examples and practice are supplied in the complete current on-site studios. The original route-check date is historical.

Principles of Finance — 16.6 Using Excel to Make Company Investment Decisions — Optional preserved publisher provenance; all required concepts, derivations, worked examples and practice are supplied in the complete current on-site studios. The original route-check date is historical.

SciPy: Linear programming formulation and linprog reference — Optional primary optimization provenance. The complete current on-site studio supplies formulation, constraints, integrality and interpretation; earlier route-check date is historical.

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