Question

Problem 8-01 (Algorithmic) The purpose of this exercise is to provide practice using the LINGO or...

Problem 8-01 (Algorithmic)

The purpose of this exercise is to provide practice using the LINGO or Excel solvers. Find the values of X and Y that minimize the function

Min   X2 – 10X + Y2 + 6Y + 34

Do not assume nonnegativity of the X and Y variables. Recall that by default LINGO assumes nonnegative variables. In order to allow the variables to take on negative values you can add

@ FREE (X); @ FREE (Y);

Alternatively, if you want LINGO to allow for negative values by default, in the LINGO menu select Options and then click General Solver, and then uncheck the Variables assumed nonnegative tab. To allow for negative values in Excel Solver, make sure that the Make Unconstrained Variables Non-Negative box is not checked in the Solver Parameters dialog box. Round your answers to the nearest whole number. If negative answer is required, enter the minus sign before the number.

Optimal solution is X = , Y = , for an optimal solution value of 0.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The purpose of this exercise is to provide practice using the LINGO or Excel solvers. Find the values of X and Y that minimize the function

Min   X2 – 10X + Y2 + 6Y + 34

Do not assume nonnegativity of the X and Y variables. Recall that by default LINGO assumes nonnegative variables. In order to allow the variables to take on negative values you can add

@ FREE (X); @ FREE (Y);

Alternatively, if you want LINGO to allow for negative values by default, in the LINGO menu select Options and then click General Solver, and then uncheck the Variables assumed nonnegative tab. To allow for negative values in Excel Solver, make sure that the Make Unconstrained Variables Non-Negative box is not checked in the Solver Parameters dialog box. Round your answers to the nearest whole number. If negative answer is required, enter the minus sign before the number.

Optimal solution is X = , Y = , for an optimal solution value of 0.

Answer:

optimal solution is

X = 5 ,
Y = -3

this can obtained by typing = (B1^2 -12*B1+ C1^2+8*C1+52) in cell B2

where x is B1 and y is C1

then set objective   $B$2

to min

by changing variiable cells: $B$1,$C$1

uncheck the box e Make Unconstrained Variables Non-Negative

finally press solve to get x =5

, y = -3

Add a comment
Know the answer?
Add Answer to:
Problem 8-01 (Algorithmic) The purpose of this exercise is to provide practice using the LINGO or...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Problem 8-01 (Algorithmic) The purpose of this exercise is to provide practice using the LINGO or...

    Problem 8-01 (Algorithmic) The purpose of this exercise is to provide practice using the LINGO or Excel solvers. Find the values of X and Y that minimize the function Min x2 - 8X + y? + 6Y+ 25 Do not assume nonnegativity of the X and Y variables. Recall that by default LINGO assumes nonnegative variables. In order to allow the variables to take on negative values you can add FREE (X); @ FREE (Y); Alternatively, if you want LINGO...

  • The purpose of this exercise is to provide practice using Excel Solver or LINGO. Find the...

    The purpose of this exercise is to provide practice using Excel Solver or LINGO. Find the values of X and Y that minimize the function Min x2 – 8x + y2 + 2y + 10 and find the optimal solution value. Do not assume nonnegativity of the X and Y variables. Recall that by default LINGO assumes nonnegative variables. In order to allow the variables to take on negative values you can add @FREE(X); @FREE(Y); at (X, Y) =

  • A R D F G 8. By using solver, and given the following LP model, please...

    A R D F G 8. By using solver, and given the following LP model, please answer. Make sure to provide the sensitivity analysis results: (4 points each) MAX 14X 18Y + s.t. 10X 12Y 1000 40X 1000 20X + 30Y 2000 X,Y 0 a. What is the optimal objective value of the objective function? b. What are the optimal values of the two decision variables? c. What are the ranges optimality? d. Would it be beneficial to increase the...

  • could you please help me with this problem, also I need a little text so I...

    could you please help me with this problem, also I need a little text so I can understand how you solved the problem? import java.io.File; import java.util.Scanner; /** * This program lists the files in a directory specified by * the user. The user is asked to type in a directory name. * If the name entered by the user is not a directory, a * message is printed and the program ends. */ public class DirectoryList { public static...

  • In cell C6, insert a Scatter Chart for the Returns Completed versus Return Price data from...

    In cell C6, insert a Scatter Chart for the Returns Completed versus Return Price data from the Data worksheet. You may be used to seeing Price placed on the Y-axis from other economics courses, but in this problem we are using price as the independent variable. Inserting Chart Select the Scatter chart from the provided chart options in the Charts group of the Insert tab of the Ribbon. Selecting Data Series Then choose Select Data in the Design tab on...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT