Class exercise: Furniture manufacturing

Class exercise: Furniture manufacturing#

Added in version v2024.1.0: After class February 19th

Solutions in text and downloads

A furniture manufacturing company wishes to determine how many tables, chairs, desks and bookcases it should make to optimize its profit.

These products utilize two different types of lumber, the company has on hand:

  • 1500 m of type 1

  • 1000 m of type 2.

There are 800 labour-hours available for the job.

Sales forecasts plus back orders require the company to make at least:

  • 40 tables

  • 130 chair

  • 30 desk

  • no more than 10 bookcases.

Each table, chair, desk, and bookcase requires:

  • of lumber type 1: 5, 1, 9, and 12 m, respectively

  • of lumber type 2: 2, 3, 4, and 1 m, respectively.

A table requires 3 labour-hours to make, a chair 2 hours, a desk 5 hours, and a bookcase 3 hours.

The company makes a total of profit:

  • €12 on a table

  • €5 on a chair

  • €15 on a desk

  • €10 on a bookcase.

Exercise 24 (Model)

Write out the linear programming model of this problem.

Exercise 25 (Method)

Now let’s solve this problem using an optimization method.

Click –> Live Code to activate live coding on this page!

import scipy as sp 
import numpy as np
#YOUR CODE HERE

Exercise 26 (Additional exercise)

What happens if you impose that four chairs should be made for every table?

#YOUR CODE HERE