Fin Maverick
Foundations VocabularyAccounting & ReportingEconomics & MacroQuant Methods & ProgrammingBusiness & Company AnalysisCorporate Finance & ValuationBehavioural Finance
Banking & Market InfrastructureFixed Income & RatesDerivatives & Structured ProductsPublic EquitiesTransactions & DealsPortfolio ConstructionFunds & AMCs
Private Markets & AlternativesRisk, Treasury & ControlAI & Digital FinanceStochastic Calculus & PricingWealth & Personal FinanceIndian Markets & RegulationProfessional Practice
CalculatorComparison
Frameworks
Explore Bootcamps
Equity ResearchPortfolio ManagementMutual Fund MasteryFinancial LiteracyInvestment Banking Analyst
Private Equity AnalystHedge Funds AnalystBreaking Into VCBreaking Into QuantsAI For Finance
Financial Analyst ProgramRisk Management ProgramPrivate Wealth ManagementDebt Capital MarketsDerivatives Foundation
Explore Internships
Equity Research InternMutual Fund Intern
Portfolio Management InternFinancial Literacy Intern
Explore Micro Courses

Equity Research6

Writing an Investment ThesisBuilding a Discounted Cash FlowReading an Annual Report FastReading a Sector Before a CompanySpotting Quality of Earnings Red FlagsBuilding a Revenue Forecast From Drivers

Portfolio Management3

Rebalancing: When, Why and What It CostsStrategic and Tactical Asset AllocationMeasuring Risk in a Portfolio

Mutual Fund Mastery3

Comparing Funds Without Being FooledHow a NAV Is Struck and Which Day You GetReading a Fund Factsheet Properly

Derivatives Unlocked4

Hedging a Real ExposureThe Greeks, PracticallyFutures, the Basis and What Moves ItReading an Option Payoff

AI For Finance2

Retrieval and Grounding for FinanceDocument Extraction in Finance

Breaking Into Quants4

Backtesting a StrategyHypothesis TestingCleaning Financial DataRegression for Finance

Breaking Into VC3

Sizing a MarketReading a Term Sheet as a FounderHow a Venture Round Actually Works

Financial Analyst Program4

Common Size and Trend AnalysisReading a Cash Flow StatementRatio Analysis That Says SomethingBuilding a Working Capital Schedule

Risk Management Program2

Credit Exposure and How It Is ReducedValue at Risk and What It Hides

Investment Banking Analyst3

Precedent Transactions and Why They DifferReading a Term Sheet StructurallyBuilding a Comparable Companies Table

Private Wealth Management3

Tax Aware Portfolio DecisionsBuilding a Client Risk ProfileGoal Based Planning Arithmetic

Debt Capital Markets3

Analysing an Issuer's CreditDuration and What It Does Not Tell YouBond Pricing and Yield Mechanics

Private Equity Analyst2

Fund Waterfalls and CarryThe LBO in Structure

Hedge Funds Analyst2

Short Selling MechanicsLong Short Mechanics
Courses
Explore Career Roadmaps
Investment Banking AnalystEquity Research AnalystVC AnalystPrivate Equity AnalystHedge Funds Analyst
Quant AnalystAI For FinanceFinancial Analyst ProgramPrivate Wealth ManagementDebt Capital Markets
Risk Management ProgramDerivatives FoundationPortfolio ManagementMutual Fund Mastery
PartnershipsShowdown
Log inSign up
Quantitative Methods, Financial Data & Programming
1Probability
Probability in FinanceRandom VariableProbability DistributionsThe Normal DistributionNormal Distribution ProbabilityThe Lognormal DistributionRandomness vs Uncertainty
2Statistics and Inference
Population and SampleMean, Median and ModePrecision and AccuracyVariable TypesVariance, Standard Deviation and…Dispersion MeasuresStatistical BiasEffect SizeHypothesis TestingThe Sampling DistributionSkewnessKurtosisCovarianceConfidence IntervalArithmetic Mean vs Geometric MeanStatistical Significance vs Economic…Confidence Interval vs Prediction IntervalHow to Summarise a…
3Correlation and Regression
RegressionCorrelation and CausationOrdinary Least SquaresInteraction TermsRegression CoefficientsRegression vs ClassificationHow to Build a…Spurious CorrelationRegression, Correlation and FitResidualsMulticollinearityAutocorrelation and Partial Autocorrelation
4Time Series
Time Series in FinanceSimple, Weighted and Exponential…Moving Average CalculatorPrice, Return and Level SeriesHow to Prepare Time-Series…LagFrequencySeasonalityTimestampsTrendStationarity and the Unit RootHeteroskedasticityLeadRolling WindowsDifferencing
5Simulation and Numerical Methods
SimulationMonte Carlo SimulationHow to Run a…Numerical MethodsIterationResampling and the BootstrapPseudorandom Numbers and the SeedConvergence and ToleranceNumerical Stability
6Optimisation
OptimisationLocal and Global OptimaConstraintsConvex OptimisationThe SolverLinear ProgrammingThe Objective FunctionConstraint ViolationThe Feasible SetLagrange MultipliersQuadratic Programming
7Modelling Practice
Linear, Logistic, Ridge and…Training, Validation and Test…The ModelModel ErrorDependent and Independent VariablesThe ROC Curve and AUCWhat a Model HoldsMSE, RMSE, MAE and MAPEPrecision and RecallCross Validation and RegularisationOverfitting and UnderfittingReturn Series MeasuresSimple, Compound and Log Return
8Backtesting and Research Integrity
BacktestingBacktest vs Live PerformanceHow to Document a…How to Prevent Backtest…Out-of-Sample TestingWalk-Forward AnalysisMultiple TestingP-HackingData Snooping
9Data Quality and Structure
Data QualityThe DatasetSelection and Survivorship BiasVersioned DatasetsData Structures in FinanceData CleaningMissing Data and Null ValuesStructured Data vs Unstructured DataMissing Data vs ZeroData Validation vs Data CleaningOutliersDuplicate Records
10Programming for Finance
Data PipelinesAPIs for Financial DataAPI vs CSV FileDatabases in FinancePython for FinanceJoinsSQL for FinanceThe Analysis Workflow
11Quantitative Research
Research DesignThe Data Generating ProcessReproducibilityPeer Review in Analytical WorkThe Research HypothesisRobustness and Sensitivity

Optimisation: Finding the Best Answer Under Constraints

Optimisation means choosing the values of a few decisions so that one stated quantity comes out as large, or as small, as it can. Every stated rule has to hold at the same time. Three things go on paper: what may be decided, what counts as better, and what is allowed. If one of them is left unwritten, the answer is a guess. The invented Amaltas workshop's best allowed plan is eight plain crates and six lined crates a day.

Almost nothing is needed to start. Counting, a little division, and the ordinary human belief that one way of spending a day can be worth more than another. None of it needs calculus, matrix algebra or finance. One word trips people more often than any other, and that word is contribution. A reader who can add a column of figures and tell whether twenty one is more than twenty is equipped.

What three things does an optimisation problem need written down?

Start somewhere ordinary. A stall outside one office building fries samosas and vadas. The oil, the flour and the potatoes arrive in fixed quantities each morning, one fryer can only do so much before the lunch rush ends, and the two items do not earn the same amount. So the stall has a genuine question every single morning: how many of each? And it almost certainly answers that question in its head, from habit, without writing anything down.

An optimisation problem is that same question with three specific things committed to paper: what may be decided, what counts as better, and what is allowed. Miss any one of them and there is nothing to solve, only something to argue about. Write all three and the question stops being a matter of judgement and becomes a matter of arithmetic. Arithmetic is much easier to check and much harder to fudge.

The three are worth taking one at a time. The first is the list of quantities somebody is free to set. Not everything about the day is open to choice, and the things that are not belong in the third list rather than the first. The second is the single number to be pushed as high as it will go, or as low, if the number is something like waste or time. The objective has to be one number. Two numbers is two problems. The third is the list of statements that any answer must satisfy to count as an answer at all, and it is the one people leave in their heads. The limits feel obvious to whoever is standing in the workshop and completely invisible to anybody else, including a solverSoftware that hunts for the best allowed answer once a problem has been typed into it. What a solver does, and the several ways it can be confidently wrong, are covered separately..

Notice the thing all three have in common. Every one of them is written by a person. None of them is discovered in the data, measured off the shop floor or handed down by anybody. Somebody decides that the number worth pushing up is the day's contribution rather than the number of crates or the number of happy customers, and that decision is an act of judgement sitting underneath a stack of arithmetic that looks entirely objective. Every later disagreement about an optimisation result turns on that judgement, so keep hold of it.

Three things on paper, and every one of them written by a person.1. WHAT MAY BE DECIDEDthe quantities somebody is free to setthe plain crate countthe lined crate count2. WHAT COUNTS AS BETTERone number, and only onethe day's contribution: Rs 300/- times plain plus Rs 450/- times lined3. WHAT IS ALLOWEDthe one people leave in their headsboardsat most 20a daybench hoursat most 22a dayclothat most 8rolls a dayand neither countcan fallbelow zero
An optimisation problem needs what may be decided, what counts as better and what is allowed, all three written down, and the Amaltas workshop fills each of the three with its own entries.
Try it out

Name the three things an optimisation problem needs written down.

What is the Amaltas workshop actually allowed to decide?

The Amaltas workshop carries every worked figure below, and it makes two things and nothing else: a plain crate and a lined crate. There is no third product waiting in the wings, no side business, and no question of changing what it makes. The only question is how many of each, today.

So the whole plan for a day is two numbers, and a quantity somebody is free to set like that is called a decision variable. They are the plain crate count and the lined crate count. Eight and six is a plan. Eleven and nothing is a plan. Nothing and nothing is a plan too, and a poor one, but it is on the list. Anything that can be said about the workshop's day is a statement about those two numbers.

Why two? Because two is what makes this drawable. Two numbers are a point on a chart: run the plain count across and the lined count up, and every conceivable plan is one dot in that picture. Three decisions would need a room and a model built inside it. A place making forty things has forty decisions and nothing to look at whatsoever. The arithmetic is identical in all three cases. Only the ability to look at it changes. A teaching case is built with two and not forty for precisely that reason.

Be careful about one confusion here. Nothing at this stage trips more people. The boards, the hours and the cloth are not decisions. The workshop does not choose how many boards arrive. They arrive. The workshop chooses how to spend them, and a decision variable holds exactly that choice.

Two decisions, so a whole day is one dot on a chart.PLAN ONE8 plain, 6 linedPLAN TWO11 plain, 0 linedPLAN THREE3 plain, 4 lined04812048plain crates a daylined crates a day8, 611, 03, 4
A whole day at the Amaltas workshop is two numbers, so every conceivable plan is one dot on a chart and the entire set of plans can be looked at rather than only described.
Try it out

The Amaltas workshop makes plain crates and lined crates. How many decision variables does that give, and why does the number matter here?

What counts as better, and how does that become one number?

Treatments of this subject usually begin, at about this point, to assume some knowledge of finance. One term does all the work, and it can be built from nothing but arithmetic.

When the Amaltas workshop makes and sells one plain crate, money comes in. Against that, some things were bought specifically because that crate was made: the boards that went into it, the glue, the nails. Take the second away from the first and what is left is the crate's contribution. Contribution is what one crate leaves behind after the things bought for that crate have been paid for, and it is emphatically not profit. A plain crate leaves Rs 300/-. A lined crate leaves Rs 450/-.

Why is it not profit? Because the workshop also pays for things that arrive whether the day is busy or idle. The rent does not care how many crates were made. The wages do not either. Nor does the standing orderA repeating purchase that goes out on its own every morning unless somebody cancels it. The order arrives and is paid for whether the day turns out busy or quiet. of twenty boards, which turns up daily at Rs 120/- a board and costs Rs 2,400/- whether it is used or not. Add Rs 1,900/- of rent and wages and there is Rs 4,300/- a day sitting outside the plan altogether. The rent, the wages and the standing order are not the plan's business, and that is exactly why they stay out of the number the plan is judged on.

The two contribution rates give the second of the three things. The day's contribution is Rs 300/- times the plain crate count plus Rs 450/- times the lined crate count, and the whole exercise is to make that number as large as it will go. One number, built by multiplying and adding, no judgement left in it once the two rates are fixed.

And here is the sentence to keep: once the Rs 4,300/- that does not move has been paid, a day earning Rs 5,100/- of contribution is worth Rs 800/-. Both figures are true, they describe the same day, and they differ by a factor of more than six. Somebody who quotes the first while meaning the second has not made a small error.

What one crate leaves behind, and what sits outside the plan altogether.INSIDE THE PLAN: moves with what gets madeONE PLAIN CRATEwhat itbrings inlesswhat was boughtfor that crateleavesRs 300/-ONE LINED CRATEwhat itbrings inlesswhat was boughtfor that crateleavesRs 450/-The price and the per-crate cost are never stated here.Only the gap is, and the gap is all a plan needs.OUTSIDE THE PLANdoes not move withwhat gets madethe standing order,20 boards at Rs 120/-Rs 2,400/-rent and wagesRs 1,900/-Rs 4,300/- a dayTHE DAY AT 8 PLAIN AND 6 LINED8 at Rs 300/- is Rs 2,400/-, 6 at Rs 450/- is Rs 2,700/-, so the day contributes Rs 5,100/-.Take off the Rs 4,300/- that does not move and the day is worth Rs 800/-.
Contribution is what one crate leaves behind once the things bought for that crate are paid for, and it is not profit, because the Rs 4,300/- a day of rent, wages and standing order sits outside the plan entirely.
Try it out

A day of 8 plain and 6 lined crates earns Rs 5,100/- of contribution. Is that the day's profit?

Breaking Into Quants Bootcamp — Fin Maverick

What is allowed, and where do those limits come from?

Now the third list, and every entry on it is a plain physical fact about the day rather than a policy or a preference.

Twenty boards arrive each morning. A plain crate takes one board and a lined crate takes two, so the boards used are the plain count plus twice the lined count, and that total cannot pass twenty. Next, the benches. Three benches run eight hours each, giving twenty four, less two hours a day held back for setting up, leaving twenty two bench hoursOne hour of one workbench with somebody standing at it. Two benches busy for one hour spend two bench hours, so the measure counts time and workspace together.. A plain crate takes two of them and a lined crate takes one, so twice the plain count plus the lined count cannot pass twenty two. Third, the lining. Only the lined crate uses cloth, one rollA single length of lining fabric, bought whole and used whole. Half a roll cannot be ordered, so the day's supply arrives as a count rather than as a measurement. each, and eight rolls arrive, so the lined count cannot pass eight.

Then there is a fourth rule that nobody ever writes down and every answer has to obey: neither count can fall below zero. It sounds too obvious to state. The rule is not too obvious to state, and the reason is worth understanding now rather than later. Arithmetic has no idea that a crate is a physical object. Minus three plain crates satisfies the board limit beautifully, frees up six bench hours and would let the workshop report a larger number, and only a human being knows it is nonsense. Every rule that lives in a person's head instead of being written down is a rule the arithmetic is free to break.

Three limits that are physical facts, and one that nobody writes down.BOARDSa plain crate takes 1,a lined crate takes 220 arrive a dayat 8 plain and 6 lined:8 plus 12 is 20 usedBENCH HOURSa plain crate takes 2,a lined crate takes 122 available a dayat 8 plain and 6 lined:16 plus 6 is 22 usedCLOTHonly the lined crateuses it, 1 roll each8 rolls arrive a dayat 8 plain and 6 lined:6 rolls used, 2 leftTHE FOURTH RULE, THE ONE NOBODY WRITES DOWNNeither crate count can fall below zero.Minus three plain crates obeys the board limit, frees six bench hours and lets the day report a largernumber. Only a person knows it is nonsense. Arithmetic has no idea a crate is a physical object.
Each of the three daily limits is a physical fact about the day rather than a preference, and the fourth rule, that neither count can fall below zero, is the one left unwritten and therefore the one arithmetic is free to break.
Try it out

A plan of 9 plain and 6 lined crates: which rule does it break, and by how much?

AI For Finance Bootcamp — Fin Maverick

What does the whole set of allowed plans look like?

Three things are now on paper. Two decisions, one number to push up, three limits plus the unwritten fourth. The answer will be one of these plans and nothing else, so it is worth looking at what is on the table before anything is solved.

Count only whole cratesFinished crates rather than part-built ones. Whole units keep a plan made of things a customer could take away at the end of the day., since half a crate is not something a customer takes away, and go one row at a time up the lined crate count. With no lined crates at all, the benches allow eleven plain, so the plans run from nothing to eleven: twelve of them. With one lined crate, eleven. With two, eleven again. Then ten, ten, nine, nine, and as the cloth and the boards start biting together, seven and finally five. Eighty four plans satisfy all three limits at once, and the best plan is one of those eighty four.

Draw the same thing without restricting yourself to whole numbers and each limit becomes a line, with everything on one side of it allowed and everything on the other side out. Stack the three lines together with the two zero limits and what survives is a five sided region. Specialists call an allowed plan a feasibleThe word specialists use for allowed. A plan is feasible when it breaks none of the rules, whether or not it is any good, and the shape of the set they form is covered separately. one, and the region in its own right, its shape and what can go wrong with it, is taken up separately later. For now just look at it. Seeing the answer sit on a corner explains more than any amount of description.

Three limits, three lines, and one region left standing between them.01234567891011120123456789plain crates a daylined crates a dayABCDETHE THREE DAILY LIMITSBOARDSplain plus twice lined,at most 20 a dayBENCH HOURStwice plain plus lined,at most 22 a dayCLOTHlined, at most 8 a dayTHE FIVE CORNERSA0 plain, 0 lined, Rs 0/-B11 plain, 0 lined, Rs 3,300/-C8 plain, 6 lined, Rs 5,100/-D4 plain, 8 lined, Rs 4,800/-E0 plain, 8 lined, Rs 3,600/-shaded: every plan thatbreaks none of the three
The plans that satisfy all three limits at once form a five cornered region on the two crate axes, and the best plan turns out to sit on corner C, at eight plain crates and six lined crates.
Eighty four plans made of whole crates, counted one row at a time.01234567891011120123456789plain crates a daylined crates a day0 lined: 12 plans, running total 121 lined: 11 plans, running total 232 lined: 11 plans, running total 343 lined: 10 plans, running total 444 lined: 10 plans, running total 545 lined: 9 plans, running total 636 lined: 9 plans, running total 727 lined: 7 plans, running total 798 lined: 5 plans, running total 8484 allowed plans in allthe lime dot is 8 plain and 6 lined
Eighty four plans made of whole crates satisfy all three limits at once, twelve of them with no lined crates and five with eight, and the answer has to be one of those eighty four.
Try it out

As the workshop makes more lined crates, the day's contribution rises. Does it keep rising all the way to eight lined crates?

Play with it

Move one thing, and watch which rule takes over.

One control. The slider sets how many lined crates the Amaltas workshop makes, and the plain crate count is then pushed as high as the three limits still permit. Everything else is held still: the boards, the bench hours, the cloth and both contribution rates never move. The marker walks the upper edge of the region, the bar rescales, and the two tracks underneath show which rule is doing the stopping. The control opens at 6 lined crates, and that setting gives 8 plain and exactly Rs 5,100/-, the same figure printed above.

0 lined crates6 lined crates8 lined crates
Walk the top edge of the region and watch which rule takes over.02468101202468plain crates a daylined crates8 plain, 6 linedRs 5,100/-best allowedRs 5,100/-the day's contributionBOARDS: all 20 used, nothing leftBOARDSBENCH HOURS: all 22 used, nothing leftHOURS
Plain crates
8 crates
Lined crates
6 crates
The day's contribution
Rs 5,100/-
Boards used
20 of 20
Bench hours used
22 of 22
Cloth used
6 of 8

Choose 6 lined crates and the rules allow at most 8 plain, worth Rs 5,100/- of contribution for the day. At this setting both the boards and the bench hours run out together, which is what makes this plan the best one allowed. This is the best allowed plan, and it is the figure printed above. 2 rolls of cloth are left on the shelf.

Educational illustration. The three limits and the two contribution rates are held fixed while only the lined crate count moves. The control stops at 8 because that is the cloth rule. At three of the nine settings the largest allowed plain count lands on a half crate, and the panel shows it rather than rounding, so the edge can be walked smoothly; the peak at 6 lined crates is a plan made of whole crates.

How is the best plan found, and where does it sit?

The edges of that region are worth a second look. Contribution climbs steadily in one direction across the picture, and a quantity that climbs steadily across a flat-sided shape reaches its largest value at one of the shape's corners. So the corners are where to look. But which corners, exactly? Not the ones the eye picks off the drawing. A drawing at this scale can be off by half a crate and nobody would see it.

Here is how they are actually obtained. Each limit, held at its maximum, is a boundary lineThe line where a limit is used right up to the last unit. Stand on it and nothing is left; step past it and the limit has been broken.. There are five of them: boards, bench hours, cloth, and the two lines where each crate count sits at zero. Take every pair of those five, work out where the pair crosses, and test that crossing against all the rules. Ten pairs. One of them, the cloth line and the line where the lined count is zero, never crosses at all because the two are parallel. Four of the remaining nine give crossings that break some other rule and are thrown out. Five crossings survive, and they are the region's five corners: nothing and nothing, eleven and nothing, eight and six, four and eight, and nothing and eight.

Now put the contribution rate against each. Nothing and nothing earns Rs 0/-. Eleven plain and no lined earns Rs 3,300/-. Eight plain and six lined earns Rs 5,100/-. Four plain and eight lined earns Rs 4,800/-. No plain and eight lined earns Rs 3,600/-. Eight plain crates and six lined crates wins, and it wins outright by Rs 300/- a day rather than tying with anything. That is a comparison of five computed numbers, not an opinion, and anybody can redo it in a minute.

Five corners, five day values, and one of them wins outright.Rs 0/-A0 plain0 linedRs 3,300/-B11 plain0 linedRs 5,100/-C8 plain6 linedRs 4,800/-D4 plain8 linedRs 3,600/-E0 plain8 linedbar height is the day's contribution, all five drawn to the same scaleC beats D by Rs 300/- a day
The five corners are worth Rs 0/-, Rs 3,300/-, Rs 5,100/-, Rs 4,800/- and Rs 3,600/- a day, so eight plain with six lined wins outright by Rs 300/- rather than tying with anything.
Try it out

The five corners are worth Rs 0/-, Rs 3,300/-, Rs 5,100/-, Rs 4,800/- and Rs 3,600/- a day. Which is the answer, and how can that be known?

Risk Management Program Bootcamp — Fin Maverick Building a Working Capital Schedule — free micro-course from Fin Maverick

What does the winning plan use up, and what does it leave?

Take the answer apart. Eight plain and six lined uses eight boards for the plain crates and twelve for the lined, twenty of twenty. The same plan uses sixteen bench hours for the plain crates and six for the lined, twenty two of twenty two. And it uses six rolls of cloth out of eight, leaving two sitting on the shelf at the end of the day.

The two spare rolls are not waste and not an oversight. Slack is information, and it is the most practically useful fact on offer here. A limit that still has something left over at the answer is not the limit holding the answer back. Money spent relaxing it buys nothing at all. Offer the workshop cheaper cloth, faster cloth, a second cloth supplier, twice the cloth: the answer stays at eight and six and the day stays at Rs 5,100/-, because cloth was never what stopped it. Boards and bench hours are what stopped it, and those two are where any improvement has to come from.

The household version of this is familiar to everybody. A person says they would cook more if only they had a better knife, and the truth is that they have forty minutes and a better knife saves two of them. The knife is the cloth. The forty minutes is the bench hours. Almost every improvement effort that fails, fails because somebody relaxed a limit that had slack in it.

What the winning plan uses up, and the one thing it leaves behind.BOARDS20 of 20BINDING: nothing left overBENCH HOURS22 of 22BINDING: nothing left overCLOTH ROLLS6 of 8NOT BINDING: 2 rolls left over2 rolls idleA limit with something left over at the answer is not what is holdingthe answer back, so relaxing it buys nothing at all.
At eight plain and six lined the workshop uses every board and every bench hour but leaves two rolls of cloth idle, which is why buying more cloth would move neither the plan nor the day.
Try it out

At the best plan two rolls of cloth are left over. What does the leftover say about buying more cloth?

Building a Working Capital Schedule teaches you to build the schedule that connects an income statement to cash.

What does one whole day look like, written out in full?

Everything above, gathered into one place. The three limits as arithmetic, the objective as arithmetic, the five corners with what each of them consumes, and the answer read straight off the table.

CornerPlainLinedBoards of 20Hours of 22Cloth of 8Contribution
A00000Rs 0/-
B11011220Rs 3,300/-
C8620226Rs 5,100/-
D4820168Rs 4,800/-
E081688Rs 3,600/-

Read the columns as sentences and the whole problem is there. Boards used is the plain count plus twice the lined count, capped at twenty. Hours used is twice the plain count plus the lined count, capped at twenty two. Cloth used is the lined count, capped at eight. Contribution is Rs 300/- times plain plus Rs 450/- times lined, and it is the column being maximised. Row C is the largest entry in that last column, so row C is the answer.

The day at 8 plain and 6 linedWorkingAmount
Contribution from plain crates8 crates at Rs 300/-Rs 2,400/-
Contribution from lined crates6 crates at Rs 450/-Rs 2,700/-
The day's contributionthe number being maximisedRs 5,100/-
The standing board order20 boards at Rs 120/-Rs 2,400/-
Rent and wagesfixed for the dayRs 1,900/-
What the day is worth once both are paidRs 5,100/- less Rs 4,300/-Rs 800/-

What goes wrong when nobody writes the objective down?

The failure that never announces itself

The Amaltas workshop never writes an objective down. The workshop runs on a saying instead, one that every workshop everywhere has some version of: never let a bench stand idle. And since a plain crate keeps a bench busy for two hours against the lined crate's one, the plain crate is the one that honours the saying best. So the workshop makes plain crates until the benches are full, and that happens at eleven a day.

Now check that plan against the rules, carefully. The check is the part that makes the failure so durable. Eleven boards of twenty, so the board rule holds with nine to spare. Twenty two bench hours of twenty two, so the bench rule holds exactly. No cloth used at all, so the cloth rule holds with everything to spare. Nothing is broken. Nobody is doing anything wrong. Every bench is busy from open to close and the place looks like a model of efficiency.

And the day is worth Rs 3,300/-, a full Rs 1,800/- a day below the Rs 5,100/- the same workshop could have had without changing a single thing it has. Nothing on the shop floor reveals this. Full benches feel like the definition of a good day, so the saying keeps getting confirmed, and the gap never announces itself.

The habit that fixes it is small. The one number actually being made large is written down, and the saying that has been standing in for it is then checked against that number. Sometimes the two agree, and the saying is a fine shortcut. Here they do not, and Rs 1,800/- a day is what the disagreement costs, every day, quietly.

Two plans, both legal, both with every bench busy all day.Neither plan breaks a single rule. One of them is Rs 1,800/- a day short.eleven plain crates, no lined22 of 22 bench hours, 11 of 20 boards, no clothRs 3,300/-eight plain crates, six lined22 of 22 bench hours, 20 of 20 boards, 6 of 8 clothRs 5,100/-Rs 1,800/- a daythe price of the sayingFull benches feel like a good day, so nothing on the shop floor ever announces the gap.
Filling every bench with plain crates gives eleven a day and Rs 3,300/-, which breaks no rule at all and is still Rs 1,800/- a day below the best allowed plan.
Try it out

The workshop fills every bench with plain crates, eleven a day, and breaks no rule at all. So what is wrong with the plan?

Portfolio Management Bootcamp — Fin Maverick

What should be asked before accepting an answer that calls itself the best one?

How anybody actually uses this, in a meeting rather than on paper

Most readers meet optimisation results long before ever setting one up. A lender is shown the schedule that minimises a borrower's payments. An analyst is handed the production plan a piece of software says is optimal. A household is told which of two arrangements is better. In every one of those, somebody else did the writing down, and what is handed over is the last line of it.

Five questions, and an answer that arrives without them is a number rather than a plan.

First, what was being decided? If the quantities somebody was free to set cannot be named, the problem that was solved is not yet known. Second, what one number was being made large, and is it the number actually wanted? Contribution and profit differ here by Rs 4,300/- a day, and crates made and rupees earned point in different directions. Third, what rules were written down, and what stayed in somebody's head? An answer inherits every rule that was left out, and it inherits them silently. Fourth, what is fully used at the answer? The fully used rules are the ones worth spending money on, and the ones with slack are not. Fifth, what would have to change for the answer to move? An answer that survives a change of Rs 50/- in a rate is a different animal from one that flips.

The Amaltas workshop answers all five in a line each: two crate counts; the day's contribution; boards, bench hours, cloth and the two zero limits; boards and bench hours both fully used; and a change in either of those two supplies, or in either contribution rate, moves it.

The same answer, with and without the three things it was computed under.THE WHOLE WORKSHEETDECIDESplain crate count,lined crate countMAXIMISESRs 300/- times plain plusRs 450/- times linedRULESboards 20, bench hours 22,cloth 8, neither below zeroANSWER8 plain, 6 lined, Rs 5,100/-THE SAME ANSWER, PASSED ALONGDECIDESdropped on the wayMAXIMISESdropped on the wayRULESdropped on the wayANSWER8 plain, 6 lined, Rs 5,100/-The two answers read identically. Only one of them can be checked,argued with, or carried across to a different day.
An answer quoted without the decisions, the objective and the rules it was computed under reads exactly like the full one and cannot be checked, argued with or applied anywhere else.
Five questions, and the line each one gets back here.THE QUESTIONWHAT THE AMALTAS WORKSHOP ANSWERS1.What was being decided?two crate counts, the plain oneand the lined one2.What number was made large?the day's contribution, not thenumber of crates made3.Which rules were written down?boards, bench hours, cloth, andneither count below zero4.Which rules are fully used?boards and bench hours. Clothstill has two rolls to spare5.What would move the answer?more boards, more bench hours,or a change in either rateAn answer that arrives without all five is a number rather than a plan.
Ask what was being decided, what number was made large, which rules were written down, which rules are fully used at the answer, and what would have to change for the answer to move.
Try it out

An answer arrives saying the best plan is 8 plain and 6 lined. So what should be asked first?

What sits outside this subject. How a rule is written and read as a piece of arithmetic, what makes one rule sit differently from another, and what happens when a rule is left out entirely are each covered separately, and the three rules here are used without being dissected. The objective is the same, stated as Rs 300/- times plain plus Rs 450/- times lined and used as it stands. What an objective is, how it is built, and how it differs from a rule is a subject of its own, covered separately. The region of allowed plans is drawn above; its shape, its corners, and the ways it can be empty or run off the chart are covered separately. Deciding what share of a pool of holdings each one should take, weighing risk off against return, is a different subject entirely, covered separately under the name portfolio construction and investment management. None of it requires calculus.

Where did every number come from?

Not one figure below came from a record that anybody keeps. The Amaltas workshop was made up, and its limits were chosen small enough to count on paper. Everything that follows from them was worked out afresh, and the working is shown in full.

What is statedHow it got that value
Twenty boards, twenty two bench hours and eight rolls of cloth a dayChosen by hand for this material, small enough that a reader can test any plan against them
Rs 300/- a plain crate and Rs 450/- a lined crateChosen by hand, then held fixed everywhere below so no two blocks can disagree
The five corners and their five day valuesObtained by crossing the boundary lines two at a time and testing each crossing against every rule
Eighty four plans made of whole cratesCounted one lined crate row at a time, twelve then eleven and so on down to five
Rs 800/- once the Rs 4,300/- that does not move is paidSubtraction, shown in full in the day's own table

The Amaltas workshop, the plain crate and the lined crate are invented.
Educational material. Not advice on any investment, tax, budget or market position.

Next →
Fin Maverick Micro CoursesExplore Micro Courses
Fin Maverick BootcampsExplore Bootcamps
Fin Maverick

Finance education that ends in a job, not a certificate that gathers dust. Built for young India.

LEARN
CalculatorsFrameworksComparisonsCareersShowdown
RESOURCES
All CoursesMicro CoursesBootcampsInternships
COMPANY
AboutJob openingPartnership
LEGAL
Privacy PolicyTerms & ConditionsContent LicenseReturn & Refund Policy
© 2026 FIN MAVERICK / BUILT FOR INDIA.DO FINANCE, DO NOT JUST READ ABOUT IT.