Solver could not find a feasible solution when solution exists

Status
Not open for further replies.

MrFuz

New Member
Joined
Nov 25, 2023
Messages
13
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
  3. Mobile
  4. Web
I have 2 sets of simultaneous equations to solve using solver. When I try to get values of X and Y it says that there is no feasible solution when actual values of X and Y exist. Can someone help me use solver to find the values? I may have done something wrong.

2 Equations:
10^12 = x^2 * Y
2 = (3*Y)/X

I set 2 cells as variable cells (C8 for X, and C9 for Y) and used these cells for equations. =C8^2 * C9 and = 3*C9/C8. Then I set objective as the first equation (=C8^2*C9) and set value of 10^12. I then added a constraint which was the second equation (=3*C9/C8) and set that equal to 2. Then I pressed solve and excel says there are no feasible solutions
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
I may have done something wrong.
Solver can only solve for 1 variable.

So use substitution method for one variable and make a fresh equation to solve.

Let me see if I can demonstrate it for you using XL2BB
 
Upvote 0
Check as below and revert -

Screenshot 2023-11-26 at 19.34.09.png


Book1
ABCDE
110^12 = x^2 * YX = 0
22 = (3*Y)/XY=2X/30
3This implies
42X=3Y
5Y=2X/3
6Now,
710^12 = x^2 * Y
810^12 = x^2 * (2X/3)
901E+12
10Find Value of Cell A9 using Goal seek by Changing Cell D1
11Since I use Excel 2021 cant find value of 10^12
12But it is possible in Excel 365
Sheet1
Cell Formulas
RangeFormula
D2D2=2*D1/3
A9A9=D1^2*(2*D1/3)
B9B9=10^12
 
Upvote 0
Check as below and revert -

View attachment 102489


Book1
ABCDE
110^12 = x^2 * YX = 0
22 = (3*Y)/XY=2X/30
3This implies
42X=3Y
5Y=2X/3
6Now,
710^12 = x^2 * Y
810^12 = x^2 * (2X/3)
901E+12
10Find Value of Cell A9 using Goal seek by Changing Cell D1
11Since I use Excel 2021 cant find value of 10^12
12But it is possible in Excel 365
Sheet1
Cell Formulas
RangeFormula
D2D2=2*D1/3
A9A9=D1^2*(2*D1/3)
B9B9=10^12
Thanks for the response, but I need to use the solver add-in not goal seek. solver can solve for 2 variables as I have done it before with different equations but for some reason with thsee equation it doesn’t work.
 
Upvote 0
Still you can only find value of 1 variable at a time...

Hope someone better than me is able to help you out.
Maybe I am misunderstanding you. What do you mean by it can only find the value of 1 variable.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top