Professional Documents
Culture Documents
NLP Examples
NLP Examples
General Widget Factory has collected 10 days’ paired data of its daily output
(DO) of widgets and the corresponding daily production cost (PC), as
displayed in the below table. The factory believes that DO and PC should be
linearly related in the form of equation (1), where a and b are constants (often
called parameters).
PC = a + b×DO (1)
Daily Output (DO) Production Cost (PC)
Day 1 5045 2542
Day 2 6127 2812
Day 3 6360 2776
Day 4 6645 3164
Day 5 7220 4102
Day 6 9537 4734
Day 7 9895 4238
Day 8 10,175 4524
Day 9 10,334 4869
Day 10 10,855 4421
Questions:
1
CB2203 Data-Driven Business Modeling
City 1 City 2
Parameter 1 = 0.006 2 = 0.004
Population 750,000 600,000
Average donations per donor $2.00 $1.50
For example: If the advertising expense in City 1 is $120 (000), the corresponding
fraction of City 1’s population that donates will be 1 – exp(– 0.006×120) = 0.51
The organization has the budget of $400,000 for advertising on television in City
1 and City 2.
Question:
The organization wants to know how to allocate the advertising budget for the
two cities so that the total donations (= sum of City 1’s donations and City 2’s
donations) are maximized, subject to the advertising budget of $400,000.
Knowing the maximum total donations, the organization also wants to know
the amount of City 1’s donations and the amount of City 2’s donations.