Question
A toy manufacturing organization manufactures two types of toys A and B. Both the toys are sold at $25 and $20 respectively. There are 2000
A toy manufacturing organization manufactures two types of toys A and B. Both the toys are sold at $25 and $20 respectively. There are 2000 resource units available every day from which the toy A requires 20 units while toy B requires 12 units. Both of these toys require a production time of 5 minutes. Total working hours are 9 hours a day. What should be the manufacturing quantity for each of the pipes to maximize the profits?
Write a program that takes in a linear programming model and calculates the max profit.(In JAVA) User will enter in the values for X and Y profit equations User will enter in the values for X and Y for two equations The output will display the profit model (equation with the input value) The output will also display the total max profit
Below is just an example of input and output only, NOT a solution.
Input Max.Z=3x+22y --> 3 22 1x+14y<=500 --> 1 14 500 7x+9y<=80 --> 7 9 80
Output Model to Maximiz your profit is Z=3x+22y Z=3(17)+22(5) Z=$161
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started