Solver Problem Maximum Number of Values to Change

holditall

New Member
Joined
Dec 30, 2008
Messages
17
Dear all,

another issue with solver. I have a certain Macro generating the ByChangeValues string to tell solver which values he might modify. For simple problem this works fine. But in cas more than approx. 30 Values are fed in, Solver does not accept the input and the field remains empty and he so does nothing at all.

The official limits are 200 or so which I do not use. If I manually fill in 100 values everything runs without any problems.

The string itself does not cause the problem. (saying it looks just as it should in the debugger mode)

Any ideas?

Thanks Axel



SolverOk SetCell:="$J$25", MaxMinVal:=2, ValueOf:="0", ByChange:=ByChangeValues
 

Some videos you may like

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Watch MrExcel Video

Forum statistics

Threads
1,122,710
Messages
5,597,702
Members
414,164
Latest member
ARTW

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
Top