samples.

4.b 11.e 12.c 13.d 14.b 15.a 16.e 17.c 18.c 19.b 20.c 21.b 22.c 23.b 24.a 25.a 26.e 27.a 28.e 29.a 30.a


NVF=benefitcost\text{NVF} = \text{benefit} - \text{cost}

conversion factors

marginal value change.

extra net value obtained for one more item

ΔNV=NV(x+1)NV(x)\Delta NV = NV(x+1) - NV(x) Lien vers l'original

optimisation

model-based

  • conclusions from the model of the system

Components:

  • decision variables
  • constraints
  • objectives
  • functions: mathematical function that determines the objective as a function of decision variable
minxϕ=f(x) Objective function s.t Constraints h(x)=0 Equality constraints g(x)0 Inequality constraints xlbxxub Bounds\begin{align*} \min_{x} \phi = f(x) & &\leftarrow &\space \text{Objective function} \\\ \text{s.t} & &\leftarrow &\space \text{Constraints} \\\ h(x) = 0 & &\leftarrow &\space \text{Equality constraints} \\\ g(x) \leq 0 & &\leftarrow &\space \text{Inequality constraints} \\\ x_{lb} \leq x \leq x_{ub} & &\leftarrow &\space \text{Bounds} \end{align*}

decision variables

discrete.

limited to a fixed or countable set of values

xDaI={1,2,3,4,5}x_{\mathcal{D}} \mid a \in \mathcal{I} = \lbrace 1, 2, 3, 4, 5 \rbrace

continuous.

can take any value within a range

xCRx_{\mathcal{C}} \subset \mathcal{R}

constraints

  • physical limitations: cannot purchase negative raw materials

  • model assumptions: assumptions about the system

domain of a definition

a decision upper and lower bounds (xUx^{\mathcal{U}} and xLx^{\mathcal{L}})

Properties

  • Active/binding:  xg(x)=0\exists \space x^{*} \mid g(x^{*}) = 0
  • Inactive:  xg(x)<0\exists \space x^{*} \mid g(x^{*}) < 0

graphing models

feasible set of an optimization model

The collection of decision variables that satisfy all constraints

S{x:g(x)0,h(x)=0,xLxxU}\mathcal{S} \triangleq \lbrace x : g(x) \leq 0, h(x) = 0, x^L \leq x \leq x^U \rbrace

outcomes

optimal value

the optimal value ϕ\phi^{*} is the value of the objective at the optimum(s)

ϕϕ(x)\phi^{*} \triangleq \phi(x^{*})

Constraints satisfy, but it is not binding

Linear optimization problems

minx1,x2 ϕ=50x1+37.5x2s.t 0.3x1+0.4x22000 0.4x1+0.15x21500 0.2x1+0.35x21000, x19000 x26000 xi0\begin{aligned} \underset{x_1,x_2}{\min} \space \phi &= 50x_1 + 37.5x_2 \\ &\text{s.t} \\\ 0.3x_1 + 0.4x_2 &\geq 2000 \\\ 0.4x_1 + 0.15x_2 &\geq 1500 \\\ 0.2x_1 + 0.35x_2 &\leq 1000, \\\ x_1 &\leq 9000 \\\ x_2 &\leq 6000 \\\ x_i &\geq 0 \end{aligned}

See also Linear Optimization

Lien vers l'original

Linear optimization:

\begin{align*}
\min_{x} \phi = c^\mathbf{T} \mathcal{x} & &\leftarrow &\space \text{Objective function} \\\
\text{s.t} & &\leftarrow &\space \text{Constraints} \\\
A_h \mathcal{x} = \mathcal{b}_h & &\leftarrow &\space \text{Equality constraints} \\\
A_g \mathcal{x} \leq \mathcal{b}g \leq 0 & &\leftarrow &\space \text{Inequality constraints} \\\
\mathcal{x}_{lb} \leq \mathcal{x} \leq \mathcal{x}_{ub} & &\leftarrow &\space \text{Variable Bounds}
\end{align*}
Lien vers l'original

time value of money

interest

Interest II is the compensation for loaning money.

interest rate

i=IPi = \frac{I}{P}. Thus F=P(1+i)F = P(1+i)

Simple interests

Ieach=P×iyearI_{\text{each}} = P \times \frac{i}{\text{year}}, total interest I=Ieach×NyearI = I_{\text{each}} \times N_{\text{year}}

Fn=P(1+ni)F_n = P(1 + ni)

Compound interests

Fn=P(1+i)nF_n = P(1+i)^n

nominal interest rates

rr is the equivalent yearly rate if interest is withdrawn so it doesn’t compound. (i.e: r=mir=mi where mm is the number of compounding periods per year)

effective annual interest rates

ieff=(1+rm)m1i_{\text{eff}} = (1 + \frac{r}{m})^m - 1

effective interest rates

how much interest do you accrue after a year if nominal rate is 12%? F=P(1+i)m=P(1+rm)mF=P(1+i)^m=P(1+\frac{r}{m})^m

continuous compounding

F=PeryF = P e^{ry}

net present value

NPV=CF0+n=1NCFn(1+i)n\text{NPV} = \text{CF}_0 + \sum_{n=1}^{N}{\frac{\text{CF}_n}{(1+i)^n}}

where CF0\text{CF}_0 is the initial cash flow, CFn\text{CF}_n is the cash flow at the end of the nthn^{th} period, ii is the effective interest rate

discount rate

Present value PV=CFt(1+rd)tPV = \frac{\text{CF}_t}{(1+r_d)^t}, where CFt\text{CF}_t is cash flow happening in tt years in the future, and rdr_d is the discount rate.

sources: opportunity cost, inflation, risk, time preference, inflation, option premium

regular deposit: Future value FV=Ak=0n1(1+i)k=A(1+i)n1iFV = A \sum_{k=0}^{n-1}(1+i)^k = A \frac{(1+i)^n - 1}{i} where AA is the monthly, or time period, deposit.

fraction of last payment that was interest was i1+i\frac{i}{1+i}, principal of the last payment is A=Flast(1+i)A = F_{\text{last}}(1+i)

geometric series

k=0n1rk=1rn1r\sum_{k=0}^{n-1}r^k = \frac{1-r^n}{1-r}

inflation

real vs. nominal

nominal value refers to actual cash flow at the time it hapens, real value refers to equivalent amount of value at reference time, converted using inflation rates.

real dollar R=CFn(1+ri)nR = \frac{\text{CF}_n}{(1+r_i)^n}, where CFn\text{CF}_n is the nominal cash flow at time nn, and rir_i is the effective yearly inflation rate.

internal rate of return

the discount rate that results in a NPV of zero (break-even scenario)

CF0+n=1NCFn(1+rIRR)n=0\text{CF}_0 + \sum_{n=1}^{N}{\frac{\text{CF}_n}{(1+r_{\text{IRR}})^n}} = 0

minimum acceptable rate of return

a rate of return set by stakeholders that must be earned for a project to be accepted

real vs. nominal MARR: real MARR is MARR if returns are calculated using real dollars, whereas nominal MARR is MARR if returns are calculated using nominal dollars.

MARRreal=1+MARR1+f1\text{MARR}_{\text{real}} = \frac{1+\text{MARR}}{1+f} - 1 where ff is the inflation rate

risk management and stochastic modelling

Convert to dollar/wk to base calculation on same unit

uncertainty, evaluating likeliness and potential impact, organize to risk matrix, determine expected impact, then propose mitigation strategies

expected impact

the chance it happens multiplied by the impact it will have if it happens. E[NPV]=iNPV(xi)p(xi)\text{E[NPV]} = \sum_{i}{\text{NPV}(x_i)p(x_i)}

Then use this to create necessary mitigation

NPV with risk and uncertainty

probability distribution

p(x)p(x) of a discrete random variable xx: Normalization requires that ip(xi)=1\sum_{i}{p(x_i)} = 1

PDF (probability density function) f(x)f(x) of a continuous random variable xx: Normalization requires that p(x)dx=1\int{p(x)dx} = 1

expected value for calculating stochastic to deterministic

of function f(x)f(x) is E[f]=if(xi)p(xi)\text{E}[f] = \sum_{i}{f(x_i)p(x_i)} for discrete random variable xx with probability distribution p(x)p(x)

of function f(x)f(x) is E[f]=xf(x)p(x)dx\text{E}[f] = \int_x{f(x)p(x)dx} for continuous random variable xx with PDF p(x)p(x)

Normal distribution

f(x)=1σ2πe(xμ)22σ2f(x) = \frac{1}{\sigma \sqrt{2\pi}} e^{-\frac{(x-\mu)^2}{2\sigma^2}}

NORM.DIST(x, mean, stddev, cumulative): cumulative is 1 for CDF, 0 for PDF NORM.INV(RAND(), 0.5, 0.05): draw values from a normal distribution with mean 0.5 and stddev 0.05

non-linear deterministic and stochastic models

mean value μx\mu_{x} of a random variable xx is its own expected value E[x]\text{E}[x], variance σx2\sigma^2_{x} is the expected value of the squared deviation from the mean E[(xμx)2]\text{E}[(x-\mu_x)^2], and stddev σx\sigma_x

central limit theorem

sample size becomes large enough, the distribution of the sample mean will be approximately normally distributed, regardless of the distribution of the population, using Monte-Carlo simulation

Expected value of linear and nonlinear functions: suppose xx and yy are independent random variables with means μx\mu_x and μy\mu_y, and variances σx2\sigma^2_x and σy2\sigma^2_y, then E[x2]=σx2μx2E[x^{2}] = \sigma_x^2 - \mu_x^2, E[xy]=xypxpydxdy=xpxdxypydy=μxμyE[xy] = \int \int xyp_xp_ydxdy=\int xp_xdx \int yp_ydy=\mu_x \mu_y

Dealing with 12 months per year: saying outcomes over a year should be normally distributed (CLT), with a mean given by expected value of monthly outcome and stddev given stddev of outcome divided by square root of the # of rolls (12\sqrt{12})


project management and CPM

  • scope, cost, time to maximize quality

WBS (work breakdown structure): hierarchical decomposition of the total scope of work

CPM (critical path method): determine the longest path through the network, the critical path, and the shortest time to complete the project cpm.webp

crashing a project means using additional resources to shorten a specific task

supply and demand

market equilibrium: where supply and demand curves intersect, quantity demanded equals quantity supplied. shift to right: greater demand, higher price, higher quantity. shift to left: lower demand, lower price, lower quantity. factors of production: land, labour, capital, entrepreneurship determinants of demand:

  • price: quantity demanded QdQ_d falls when price PP rises and vice versa
  • prices of related goods: substitutes and complements determinants of supply:
  • price: quantity supplied QsQ_s rises when price PP rises and vice versa
  • factors of productions
  • fiscal policies, taxes, regulation

elasticity: how responsive quantity demanded or supplied is to a change in price.

Surplus when Qs>QdQ_s > Q_d, shortage when Qs<QdQ_s < Q_d.

Elasticity of demand: Ed=%ΔQd%ΔP=PQDdPdQDE_d = \frac{\% \Delta Q_d}{\% \Delta P} = \frac{\mid \frac{P}{Q_D} \mid}{\mid \frac{dP}{dQ_D} \mid}

Elasticity of supply: Es=%ΔQs%ΔP=PQSdPdQSE_s = \frac{\% \Delta Q_s}{\% \Delta P} = \frac{\mid \frac{P}{Q_S} \mid}{\mid \frac{dP}{dQ_S} \mid}

higher slope corresponds to lower elasticity: inelastic, lower slope corresponds to higher elasticity: elastic

Demand elasticity: ED<1E_D <1 means if price increases by 5% then demand will decrease by less than 5%, inelastic. ED>1E_D >1 means if price increases by 5% then demand will decrease by more than 5%, elastic.

taxes

arbitrary lower the equilibrium quantity,

price seen by consumers vs. suppliers changes depends on relative elasticities of demand and supply: more price change will end up on consumer side

quantities change depends on total elasticities of demand and supply: more elastic means more quantity change.

subsidies

arbitrary increase the equilibrium quantity,

price seen by consumers vs. suppliers changes depends on relative elasticities of demand and supply: more price change will end up on consumer side

quantities change depends on total elasticities of demand and supply: more elastic means more quantity change.

behavioural economics

invisible hand of the market: self-interest of individuals leads to the best outcome for society as a whole, in a free market economy, as rational actors are motivated by incentives.

perfect competition: wheat (control of price none, low barrier to entry, high # of producers, products are identical) monopolistic competition: restaurants (control of price low, low barrier to entry, high # of producers, products are similar) oligopoly: airlines (control of price high, high barrier to entry, few producers, products are similar) monopoly: utilities (control of price high, high barrier to entry, one producer, unique product)

game theory, most notable The Prisoner’s Dilemma

anti-trust legislation: prevent monopolies, promote competition, protect consumers

behavioural economics: + psychology to look at reasons people make irrational decisions

“bounded rationality”: you don’t have perfect information, and understand there’s an opportunity cost to get it

law of demand and ultimatum game: people will pay less for a good if they can get it elsewhere for less, even if they value it more than the price they pay.

Cooperation: R. Axelrod’s The Evolution of Cooperation propose a “strategy”, what you do dependent on what the other person does.

PPF (production possibility frontier): trade-offs between two goods, given a fixed amount of resources.

risk aversion: people prefer a certain outcome to a risky one, even if the expected value of the risky one is higher. assume that the given investment is loss, then calculate based on margin gains

tax, incentives and depreciations

income, corporate, property, sales

personal income tax: progressive tax rate corporate tax: flat tax rate, regardless of income level net income: subtracting expenses from gross income.

profit on investments will be tax. If yields loss, then offset the loss against the profits from another to pay less tax overall.

optimization strategies: minimize liabilities, timing of expenditures incorporate into financial models, do sensitivity analysis

before-tax MARR: set MARR high enough to include taxes that need to be paid for investment’s gross profit after-tax MARR: if tax is explicitly accounted for in the cash flows of the project, then MARR should be lower for final investment decisions

MARRafter-tax=MARRbefore-tax×(1corporate tax rate)MARR_{\text{after-tax}} = MARR_{\text{before-tax}} \times (1 - \text{corporate tax rate})

incentives: tax credits, tax reliefs, programs to encourage certain activities depreciation: due to use-related physical loss, technological obsolescence, functional loss, market fluctuation.

Deprecation is a non-cash expense, but reduces the taxable income of a business. Can deduct annually by spreading the cost of an asset over its useful life.

affects NPV (net present value), IRR (internal rate of return), and payback period calculation

Market value: actual value of the asset can be sold for, estimated Book value: deprecated value of the asset, using a depreciation model Salvage value: estimated value of the asset at the end of its useful life

value calculations

Depreciation in year nn D(n)D(n) is the decline in book value over that year: BV(n)=BV(n1)D(n)BV(n) = BV(n-1) - D(n)

Salvage value SVSV is the book value at object’s EOL: SV=BV(N)=MV(0)n=1ND(n)SV = BV(N) = MV(0) - \sum_{n=1}^{N} D(n)

Straight-line depreciation

spreads uniformly over useful life, SLD of a period Dsl(n)=Purchase priceSalvage value after N periodsN periods of useful lifeD_{\text{sl}}(n) = \frac{\text{Purchase price}-\text{Salvage value after N periods}}{\text{N periods of useful life}}.

book value at end of nthn^{th} year: BVsl(n)=Pn×PSNBV_{\text{sl}}(n) = P - n \times \frac{P-S}{N}

Declining-balance depreciation

different assets are classified into classes: Ddb(n)=BVdb(n1)×d(depreciation rate)D_{\text{db}}(n) = BV_{\text{db}}(n-1) \times d (\text{depreciation rate}), such that book value at the end of a period BVdb(n)BV_{\text{db}}(n) is BVdb(n)=P(1d)nBV_{\text{db}}(n) = P(1-d)^n

given salvage value SS and period of useful life NN, depreciation rate d=1SPNd = 1 - \sqrt[N]{\frac{S}{P}}

Sum-of-years-digits depreciation

Dsyd(n)=Nn+1i=1Ni×(PS)D_{\text{syd}}(n) = \frac{N-n+1}{\sum_{i=1}^{N} i} \times (P-S)

Unit of production depreciation

Duop(n)=units produced of periodlife in # of units×(PS)D_{\text{uop}}(n) = \frac{\text{units produced of period}}{\text{life in \# of units}} \times (P - S)

assumes a SLD but vs. # of units rather than time.