Locksmith tasked with producing keys

Assignment Help Basic Computer Science
Reference no: EM131260352

You are a locksmith tasked with producing keys k1,..., kn that sell for p1,..., pn respectively. Each key kitakes gi grams of gold and si grams of silver. You have a total of G gold and S silver to work with, and canproduce as many keys of any type as you want within the time and material constraints.(a) Unfortunately, integer linear programming is an NP-complete problem. Fortunately, you have foundsomeone to instead buy the alloys at an equivalent price! Instead of selling keys, you have decided tofocus on melting the prerequisite metals together, and selling the mixture. Formulate the linear programto maximize the profit of the locksmith, and explain your decision variables, objective function,and constraints.(b) Formulate the dual of the linear program from part (a), and explain your decision variables, objectivefunction, and constraints. Your explanation should be more specific than constraint multipliers forgeneric linear programs.Hint: Formulate the dual first, then think about it from the perspective of the locksmith when negotiatingprices for buying G gold and S silver if they had already signed a contract for the prices forthe output alloys pi. Think about the breakeven point, from which the locksmith's operations begin tobecome profitable for at least one alloy.

Reference no: EM131260352

Questions Cloud

Determine the diameter of the smallest shaft : Determine the diameter of the smallest shaft that can be used and its corresponding angle of twist. For the steel, use a working shear stress of 12 000 psi and G = 12 × 106 psi.
Evaluate lenscrafters operations strategy : Determine the different types of performance measurements that can be used to measure LensCrafters' service-delivery system design. Select at least two (2) types that can be applied and provide justifications for the selection.
Required to participate in requirements definition : On an IT system development project, what team members are required to participate in requirements definition?
Develop excel-based financial models to help analyze cases : Develop Excel-based financial models to help analyze cases. Apply knowledge of financial statements: balance sheets, income statements and cash flows in the analysis of corporations
Locksmith tasked with producing keys : You are a locksmith tasked with producing keys k1,..., kn that sell for p1,..., pn respectively. Each key kitakes gi grams of gold and si grams of silver. You have a total of G gold and S silver to work with
What is the objective of maintenance and reliability : What is the objective of maintenance and reliability? - How does one identify a candidate for preventive maintenance?
What is good faith bargaining : Discuss what type of union (craft, industrial, general, white collar) and whether it is a federation or local union - Identify 5 key elements that made this partnership so successful.
Produce small gasoline-powered motors for use in lawn mowers : Petro Motors, Inc. (PMI), produces small gasoline-powered motors for use in lawn mowers. The company has been growing steadily over the past five years and is operating at full capacity. Calculate the cost per motor, for cost accounting purposes, aft..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Where are symbol table actions needed to allocate

How can implicit scoping serve to limit the effective lifetime of temporaries?

  Create a monthly claim status summary report

What data validation check would the clinic need for the new patient data entry screen? Write a brief memo with your recommendations.

  Director of human resources

The next morning, she was called to a meeting with an investigator from corporate security, which led to more meetings with others in corporate security, and then finally a meeting with the director of human resources and the CIO of XYZ.

  Processes of human beings

What is the name of the computer program that simulates the thought processes of human beings?

  Computation cycle of p-processor erew pram can be simulated

Show that each computation cycle of a p-processor EREW PRAM can be simulated on a √p ×√p mesh in O(D√p) steps, where D is the maximum number of processors accessing memory locations stored at a given vertex of the mesh.

  Renewable alternatives to oil

Based on the concern that we may be running out of oil, describe at least two renewable alternatives to oil that are currently available and discuss the barriers that keep these alternatives from replacing oil as our primary means of energy.

  Determine the actual operating cost

A heat pump with a coefficient of performance of 3.8 provides energy at an average rate of 75,000 kJ/h to maintain a building at 21°C on a day when the outside temperature is 0°C. If electricity costs 8 cents per

  Database models and legacy systems

Databases evolved from flat file systems. As technology advanced, the limitations of flat files became evident. The database model has evolved to meet the business needs of the time. As the information age evolved, organizations realized there was..

  Perform the binary multiplication operations

Convert the hexadecimal number FE95 to decimal and the decimal number 98694 to hexadecimal. Be sure to show all the steps and perform the subsequent binary multiplication operations. Use as many bits as necessary to represent the result.

  Designing a solution for a programming problem

In your opinion, what are the three biggest challenges in planning and designing a solution for a programming problem? What can you do to overcome these challenges? How would you apply these techniques to the programs in this class?

  Cryptosystems and protocols in use to protect transaction

Go to a popular online electronic commerce site like Amazon.com. Place several items in  your shopping cart, and then go to check out. When you reach the screen that asks for your credit card number, right-click on the Web browser and select "Propert..

  Write a program in c++ which reads a string

The output should indicate the position where the first offending parenthesis is found if the string is not properly nested and balanced. Use a stack to track the left parenthesis.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd