What is the optimal objective function value

Assignment Help Data Structure & Algorithms
Reference no: EM132737975

Question 1. Categorize each of the following Phase 1 tableaux according to the directions (assume that the artificial variables are named aj):

Question 2. Categorize each of the following Phase 2 tableaux according to the directions:

Question3. Consider this instance of an optimization problem:
min - 5x1 - 4x2 + 2x3 subject to 2x1 + 3x2 - x3 ≤ 12
-3x1 + x2 + 2x3 = 15
x1 + x2 + 3x3 ≥ 6

a. Add slack, surplus, or artificial variables as needed to convert the given constraints to the required form for an instance of LP-carefully write the converted constraints here, in mathematical notation:

b. Create a data file for Phase 1 on this instance (you are allowed to use a text editor), and use ManualSimplex to do Phase 1, and Phase 2 (unless Phase 1 tells you to stop) to solve this instance, concluding that the constraints are infeasible, or the problem is unbounded, or that it has an optimal point, and answer all the questions below.
Is this instance infeasible (if you say "yes," you will obviously not need to answer any further questions)?

Is this instance unbounded (if you say "yes," you will obviously not need to answer any further questions)?
If you think that this instance has an optimal point,

list the original variables (of the form "xj") that are basic at the optimal point, with their optimal values:

and what is the optimal objective function value (be sure to get the sign correct for the original problem)?

4. Here is the data for an instance of the transportation problem, where the rows represent factories, the columns represent stores, the far right column of numbers is the total units shipped from each factor, the bottom row of numbers is the total units to be received at each store, and the number in row j, column k is the cost to send one unit from factory j to store k.

Your job on this problem is to create the data file for this instance and use ManualSimplex to do Phase 1 and then Phase 2, finding the optimal number of units to ship from each factory to each store in order to minimize the total shipping cost.

Write the values of the optimal basic variables in the chart above, and state clearly the optimal shipping cost.

Directions for Problem 5

Demonstrate (by writing out the complete tree on the next page) the branch and bound heuristic algorithm for the 0-1 knapsack instance with this data:

with the knapsack capacity being 15.

You must demonstrate the "best first" version of the algorithm that always explores the node with the best bound, where the bound is obtained by computing the profit that could be achieved, given the current choices at the node, if we were allowed to use fractional parts of the following item(s), and prunes nodes whenever their bound is less than a known achievable profit or their weight is too high.

For each node that is drawn, use the format shown in the part that is already done on the next page, including numbering the nodes in the order they are added to the priority queue.

Write you answer on the next page. The first few nodes have already been done, to save you time and to show the desired format. This is a snapshot of the algorithm at the point where nodes 2, 4, and 5 are in the priority queue.

Whenever a node is pruned, write immediately below out why it has been pruned.

You will be penalized if you explore nodes that should have been pruned. Be sure to generate all nodes, though, that the algorithm produces, even if you as a clever human can see that there is no point.

In general, show all your work and explain all your reasoning.

Directions for Problem 6

Consider the ETSP instance with these 30 points (given for your convenience in the attached file problem6):

Your job on this problem is to use AutoHeuristicTSP to solve this instance, and to do what is asked below to show your full understanding of the algorithm.

Write your branch and bound tree and other answers on the next page.

Draw the branch and bound tree showing the node number and score for each node (you can just draw the first, say, up to 10 nodes, to show that you understand how it works, and then you can stop drawing). You don't have to write down the cuts you make (write the score in each node after all cuts have been done), but you should clearly show on the edges what branching choices you are making.

Clearly state which node gives the optimal tour and state the total length of that tour.

6. (write your answer for Problem 6 here)

Directions for Problem 7:

Suppose we have some factories, some warehouses, and some stores, and we want to send a certain number of units of some product from the factories, to the warehouses, and then to the stores, with minimal shipping cost, where we have a known, fixed cost of shipping one unit of product along each possible path from a particular factory to a particular warehouse, and from a particular warehouse to a particular store.
For example, we might have three factories (represented by triangles), each with some number of products to ship, and four stores (represented by circles) each with some number of products to receive, and we have two warehouses (represented by squares), each with a limit of the number of units that can be received and later shipped out, like this (where its number of products is written discreetly next to each factory, warehouse, and store):

Instead of labeling the edges with the per unit cost of shipping, these charts give that information:

Cost of shipping one unit from factory j
(the row) to warehouse k (the column):
1 2
1
2
3

Cost of shipping one unit from warehouse
k (the row) to store m (the column):
1 2 3 4
1
2

We can solve this problem by modeling it as an instance of LP.

Your job is to write, on the next page, using the data provided in the diagram and charts above, the objective function in its entirety (which would be minimized) and a few of the constraints as requested, using the variables fjk = number of units to ship from factory j to warehouse k and wkm = number of units to ship from warehouse k to store m.

7. (write your answer to Problem 7 here) Write the objective function here:

Write here the constraint that says the total number of units shipped out of factory 2 will be equal to the number of units it produces:

Write here the constraint that says that warehouse 1 must receive and send out the same number of units:

Write here the constraint that says that warehouse 2 must not receive more than its specified limit on its number of units:

Write here the constraint that says that store 4 must receive its specified number of units:

Attachment:- Test 3.rar

Reference no: EM132737975

Questions Cloud

Calculate karen realized and recognized gain or loss : Calculate Karen's realized and recognized gain or loss, and explain you answer. Monica sells a parcel of land to her son, Elbert, for $90,000.
Discuss decisions to take to ensure your business survives : Assume that the cash flow from operating activities for your business has been negative over the recent years, discuss the various steps that you are likely to.
What the preferred is noncumulative and nonparticipating : What the preferred is noncumulative and nonparticipating. Loma Inc. has $6,000,000, $0.60, no par value preferred shares (6000 shares) and $4,000,000
Calculate the amount of annual depreciation : A storage tank acquired at the beginning of the fiscal year at a cost of $61,000 has an estimated residual value of $9,000 and an estimated useful life.
What is the optimal objective function value : Artificial variables as needed to convert the given constraints to the required form for an instance of LP-carefully write the converted constraints
Write description of its purchasing and payments system : Retro Pty Ltd is a major manufacturer of industrial machinery. Detailed below is a description of its purchasing and payments system.
Prepare the journal entry to record the services : Prepare the journal entry to record the services provided in 2017 for customers who made advance payments in 2016. Prepare the journal entries for the debenture
What is sammy basis for the assets received : Sammy exchanges land used in his business in a like-kind exchange. The other party assumes the liability. What is Sammy's basis for the assets he received?
How much personal exemptions can he claim : Mr. Sa, a widower, has two sons by his previous marriage. Mr. Sa lives with Mrs. J who is legally married to Mr. J. They have a child named Jam.

Reviews

inf2737975

3/16/2021 3:09:05 AM

I have 7 questions and i need them to be done . i submit it the exericises that you did for me was all correct you guys are awesome and the expert who did the exerices he do it right because he know what the professor expects of them. I have not stopped myself to say thanks to you guys for your awesome work on my assignment as I order at the last moment. It’s unbelievable for me to achieve a great score because it’s such complicated task and your experts did a great work.

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement the sorting algorithms

You will implement the five sorting algorithms we discussed (selection, bubble, insertion, merge, quick), and compare their runtime performance

  Initalize the element with appropriate integer values

delcare and array of integer of size 10 and initalize the element with appropriate integer values

  An optimization technique concept

Write an Genetic Algorithm: An Optimization Technique Concept

  Store the grades that you read in an arraylist

We expect the file to contain grades represented by integer values, one per line. If you encounter a value that is not an integer, you should throw an exception, print a message to the console, skip that value, and continue processing.

  Clusters of whiskeys that can help business decisions makers

Try both hierarchical and k-means clustering, and then choose one of two methods to find some meaningful clusters of whiskeys that can help business decisions makers gain insights from the Whiskey dataset.

  Karatsuba''s divide-and-conquer algorithm

In class we discussed Karatsuba's divide-and-conquer algorithm for integer multiplication, which multiplies n-bit numbers by recursively multiplying n bit numbers. We take two numbers X and Y and split them each into their most significant half a..

  Perform a post order traversal of the bst

Refer to the following binary search tree:Perform a post order traversal of this BST.

  Determine which scheduling algorithms are best suited

Determine which scheduling algorithms (from the ones you researched in the Discussion Board assignment) are best suited for the enterprise you selected.

  Complete the following tasks for this project

Before you begin, open the Sweatshirt.doc document and review it. Notice that data has been added indicating what size t-shirt is needed for each individual attending the high school reunion.

  What is the difference between syntax and semantics

What is the difference between syntax and semantics? What is the difference between a formal programming language and a pseudocode?

  How to use depth-first search to find out in time

Illustrate how to use depth-first search to find out in time O(|E|+|V |) whether undirected graph is 2-colorable. Describe and explain your strategy.

  Write an algorithm that converts a decimal number

Write an algorithm that converts a decimal number between 0 and 15 into its 4 bit unsigned binary representation.

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