Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Explanation: Below find a problem that can be solved using LP through Python. Question : cergo company has production centers in Beikta and Davutpaa. These

Explanation:

Below find a problem that can be solved using LP through Python.

Question:

cergo company has production centers in Beikta and Davutpaa. These two production centers makes t-shirts and jeans. A unit of t-shirt gives a profit contribution of 10 TL, while a unit of jeans gives a profit contribution of 15 TL. Each center uses two processes, cutting and sewing, for producing its products. Beikta center has a cutting capacity of 80 hours per week and sewing capacity of 60 hours per week. For Davutpaa center, these capacities are 60 and 75 hours per week, respectively.

The cutting and sewing times in hours for a unit of each type of product in each center are given in the table below.

Beikta

Davutpaa

T-shirt

Jeans

T-shirt

Jeans

Cutting

4

2

5

3

Sewing

2

5

5

6

Each unit of each product (both t-shirts and jeans) uses 4 kg of a raw material (cloth), which we assume that they are using from the same type of raw material. The company has 120 kg of cloths available per week. The aim of the company is to maximize its profit.

First of all, you will create the cutting and sewing times of your own by the code given here. Therefore, each group will have different input data.

Formulate the problem using an LP and solve it using CBC at JUPYTER.

Make sure that you print the table of yours that is created by the code I have provided to you.

Make sure that your code prints out the results, i.e., the following:Production Quantities:

Jeans in Beikta and in Davutpaa,

T-shirts in Beikta and in Davutpaa

Total amount used

Cutting in Beikta and in Davutpaa

Sewing in Beikta and in Davutpaa

Cloths in Beikta and in Davutpaa

Total profit.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 Universal Database V7.1 Application Development Certification Guide

Authors: Steve Sanyal, David Martineau, Kevin Gashyna, Michael Kyprianou

1st Edition

0130913677, 978-0130913678

More Books

Students also viewed these Databases questions

Question

Page 2 of 4 b ) Interpret the following ER diagram

Answered: 1 week ago