Solver and decimals HELP!

ctj0215

New Member
Joined
Oct 29, 2005
Messages
1
Hey-

Lets see if you guys have a solution to this problem. I have a pretty basic solver modle set up. The modle works great but my biggest problem is that the model gives me values with like 15 decimals. I need the values that it gives me values to be whole numbers. Any reccomendations?

I tried using a data-validation to set it up as whoole numbers only but solver keeps inserting the non-whole nnumbers anyway.

PLEASE help... I have to get this forecast in soon. THANKS!!

-c
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
It would help if you could post what you have already - how have you set solver up?
 
Upvote 0
Add a constraint in Solver that indicates the desired variables must be integers.

ctj0215 said:
Hey-

Lets see if you guys have a solution to this problem. I have a pretty basic solver modle set up. The modle works great but my biggest problem is that the model gives me values with like 15 decimals. I need the values that it gives me values to be whole numbers. Any reccomendations?

I tried using a data-validation to set it up as whoole numbers only but solver keeps inserting the non-whole nnumbers anyway.

PLEASE help... I have to get this forecast in soon. THANKS!!

-c
 
Upvote 0

Forum statistics

Threads
1,219,162
Messages
6,146,660
Members
450,706
Latest member
LGVBPP

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