# Can you answer this?

3 visualizzazioni (ultimi 30 giorni)
Ethyl Mae il 17 Apr 2024
Modificato: Torsten il 18 Apr 2024
Ad-Board, Inc. handles radio and television promotional jobs and placements for a wide range of clients. The agency’s objective is to maximize the total audience exposure for its client’s products. Research indicates that each radio spot results in 1,000 exposures while each television spot contributes an independent 3,000 exposures. A radio spot costs P5,000 and a television spot costs P20,000. Clients provide Ad-Board with a maximum monthly budget of P1 million. Contracts with radio networks require a minimum of 100 spots per month. The agency employs account executives to place the spots. Past experience indicates that each radio spot takes 20 hours of executive effort and each television spot uses 40 hours. The agency’s account executives are available for 4000 hours per month. Find the number of radio and television spots that maximizes total audience exposure. Use simplex method.
##### 1 CommentoMostra -1 commenti meno recentiNascondi -1 commenti meno recenti
Sam Chak il 17 Apr 2024
From what I can gather, it seems that the presence of integers and the phrase "maximizes total..." indicates that this is related to an Integer Linear Maximizing Problem (ILMP).
To facilitate a better understanding of the math problem and receive relevant guidance from interested users, could you express the following integers in the form of mathematical constraints? Additionally, providing the Simplex formula would be helpful, as it saves users from having to search for it online.
• 1,000 exposures
• 3,000 exposures
• P5,000
• P20,000
• P1 million
• 100 spots per month
• 20 hours
• 40 hours
• 4000 hours per month

Accedi per commentare.

### Risposte (1)

Rohit Kulkarni il 17 Apr 2024
Modificato: Rohit Kulkarni il 17 Apr 2024
Hi Ethly Mae,
In my understanding you are trying to solve an optimization problem using simplex method.
While MATLAB's internal function linprog can solve optimization problem but it does not use simplex method.
Hence you can refer to the following custom implementation of simplex method in MATLAB to solve your problem:
Hope it helps!
##### 3 CommentiMostra 1 commento meno recenteNascondi 1 commento meno recente
Rohit Kulkarni il 18 Apr 2024
Hi Sam,
I had tried to set the solver to 'simplex' using 'optimoptions()' settings, but got the following error:
Torsten il 18 Apr 2024
Modificato: Torsten il 18 Apr 2024
Ask your professor which method you are supposed to use when he/she writes "simplex method".
Maybe you were told to program the simplex method on your own ?

Accedi per commentare.

### Categorie

Scopri di più su Solver Outputs and Iterative Display in Help Center e File Exchange

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by