Solver, iterate on value multiples

FrancoisT

New Member
Joined
May 18, 2021
Messages
4
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hello my fellow Excellers!

I have a practical issue which appears simple at first but reveals itself being tricky (at least for me) , the problem is the following :

In my Solver Model there are several variables which can range from let's say 1000 to 100000+ and are sold by multiples of 100s.
So basically I would need the Solver to iterate over the variables by integers multiples of 100 in order to save computational power and increase speed.

I've already made half a step forward when I added a column with the Solver variable and the unit which is the variable multiplied by a scalar, so for instance:
B3 = 2 C3 = B3*100 = 200
In this case, getting the unit number for 100 to 200 requires (if my thinking is correct) less steps as it iterates over less numbers (1 to 2 instead of 100 to 200).

But I imagine that there would be more efficient solutions ,so I should be grateful if you have some ideas as to improve the efficiency.

Thank you for your help and have a great day!
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Hello again, it doesn't seem like it is a straighforward issue, do you have any tricks to improve this by any chance?
 
Upvote 0

Forum statistics

Threads
1,224,862
Messages
6,181,461
Members
453,043
Latest member
Sronquest

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