UNIHIVE

Study Hub UNIPORT ENG 401

ENG 401 · Engineering Mathematics VI (Mathematical Modelling and Operation Research)

Integer, goal, geometric, nonlinear and stochastic programming

Beyond linear programming: whole numbers, many goals, curved relations and uncertainty.

Our notes

2 min read

Integer programming (IP)

Some variables must be whole numbers (pumps, trucks) or 0/1 (build or not).

  • Rounding an LP answer may be infeasible or far from the best.
  • Branch and bound: solve the LP; if a variable is fractional (x = 2.6), split into two sub-problems (x ≤ 2 and x ≥ 3), and continue, discarding branches that cannot beat the best whole-number answer found.
  • 0-1 variables model yes/no decisions: choose projects within a budget, fixed charges, either-or constraints.

Goal programming

Real decisions have several goals (profit, quality, safety, emissions). Goal programming sets a target for each and minimises the weighted or ranked deviations:
profit + d₁⁻ − d₁⁺ = target, and minimise d₁⁻ (falling short), for example.
Goals can be pre-emptive (rank 1 satisfied first) or weighted.

Nonlinear programming

Objective or constraints are curved: costs with economies of scale, stresses, flows.

Unconstrained: set the derivatives to zero; check with second derivatives.

Equality constraints: Lagrange multipliers: optimise L = f − λg and set all partial derivatives to zero.

Inequality constraints: the Karush-Kuhn-Tucker (KKT) conditions extend Lagrange's method.

Worked example: least material for a tank

A closed cylindrical tank must hold V = 1 m³. Minimise the surface area A = 2πr² + 2πrh.
From the volume, h = V ÷ (πr²), so A = 2πr² + 2V ÷ r.
dA/dr = 4πr − 2V ÷ r² = 0 → r³ = V ÷ (2π) = 0.1592 → r ≈ 0.542 m.
h = 1 ÷ (π × 0.542²) = 1 ÷ 0.923 ≈ 1.084 m.
So h = 2r: the best closed cylinder is as tall as it is wide.

Check with Lagrange: L = 2πr² + 2πrh − λ(πr²h − 1).
∂L/∂h: 2πr = λπr² → λ = 2/r.
∂L/∂r: 4πr + 2πh = 2λπrh = 4πh → 4πr = 2πh → h = 2r. Same.

Geometric programming

For objectives and constraints that are posynomials (sums of positive terms like c x^a y^b), common in engineering design (heat exchangers, circuits). Solved through a dual problem; it gives the optimal share of each cost term.

Stochastic programming

Some data are random (demand, rainfall, prices).

  • Chance constraints: a constraint must hold with a stated probability: P(supply ≥ demand) ≥ 0.95.
  • Two-stage models: decide now (build capacity), then adjust once the random value is known (buy extra).

Searching methods

For problems without formulas for derivatives: golden-section and Fibonacci search (one variable), gradient methods, and heuristics such as genetic algorithms and simulated annealing for very large or messy problems.

Exams usually ask

  • Explain branch and bound.
  • Solve a two-variable optimisation with a Lagrange multiplier.

Common mistake

Assuming a stationary point is a minimum. Check the second derivative or compare nearby values.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All ENG 401 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.