Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default SOLVER does not iterate / work

I am using SOLVER for the first time and it appears that it is not iterating.
The initial objective and "change" values do not change at all after running
SOLVER.

My objective is to minimize the difference^2 between two columns of data by
optimizing one cell which contains a "cut" value.

- The first column of data contains fixed integer values of 0 and 1 for
10,000 cases.
- The second column of data contains decimal values between 0 and 1 for
10,000 cases.
- A third column is calculated based on a cut value ("change" value) where
values in the second column = cut are set to 1 and values < cut are set to 0.
- The objective/target is to minimize the sum of the differences between the
1st and 3rd column squared.

Can anyone help?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 690
Default SOLVER does not iterate / work

- A third column is calculated based on a cut value ("change" value)
where
values in the second column = cut are set to 1 and values < cut are

set to 0.

Hi. Just a guess of course. Are you using IF() functions to make this
decision? If so, Solver "usually" will not work if you use these types
of functions.
Don't know exactly how you are set up to offer any suggestions.
= == = =
Dana DeLouis



BHatMJ wrote:
I am using SOLVER for the first time and it appears that it is not iterating.
The initial objective and "change" values do not change at all after running
SOLVER.

My objective is to minimize the difference^2 between two columns of data by
optimizing one cell which contains a "cut" value.

- The first column of data contains fixed integer values of 0 and 1 for
10,000 cases.
- The second column of data contains decimal values between 0 and 1 for
10,000 cases.
- A third column is calculated based on a cut value ("change" value) where
values in the second column = cut are set to 1 and values < cut are set to 0.
- The objective/target is to minimize the sum of the differences between the
1st and 3rd column squared.

Can anyone help?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default SOLVER does not iterate / work

Yes, the third column is based on IF() statements. Would you know of any
solutions to this issue or a work-around?

"Dana DeLouis" wrote:

- A third column is calculated based on a cut value ("change" value)
where
values in the second column = cut are set to 1 and values < cut are

set to 0.

Hi. Just a guess of course. Are you using IF() functions to make this
decision? If so, Solver "usually" will not work if you use these types
of functions.
Don't know exactly how you are set up to offer any suggestions.
= == = =
Dana DeLouis



BHatMJ wrote:
I am using SOLVER for the first time and it appears that it is not iterating.
The initial objective and "change" values do not change at all after running
SOLVER.

My objective is to minimize the difference^2 between two columns of data by
optimizing one cell which contains a "cut" value.

- The first column of data contains fixed integer values of 0 and 1 for
10,000 cases.
- The second column of data contains decimal values between 0 and 1 for
10,000 cases.
- A third column is calculated based on a cut value ("change" value) where
values in the second column = cut are set to 1 and values < cut are set to 0.
- The objective/target is to minimize the sum of the differences between the
1st and 3rd column squared.

Can anyone help?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 110
Default SOLVER does not iterate / work

BHatMJ -

One workaround is to use a slightly more advanced version of Solver, instead
of the standard Solver that ships with Excel. For example, the Premium
Solver for Education may be able to work with your discontinuous functions.
Visit www.solver.com.

Another workaround is to convert the IF statements to a set of binary
variables. The specifics depend on your current problem and your skills at
what might be a considerable reformulation. But then you could likely use
standard Solver for the mixed integer programming problem.

- Mike

http://www.MikeMiddleton.com



"BHatMJ" wrote in message
...
Yes, the third column is based on IF() statements. Would you know of any
solutions to this issue or a work-around?

"Dana DeLouis" wrote:

- A third column is calculated based on a cut value ("change" value)
where
values in the second column = cut are set to 1 and values < cut are

set to 0.

Hi. Just a guess of course. Are you using IF() functions to make this
decision? If so, Solver "usually" will not work if you use these types
of functions.
Don't know exactly how you are set up to offer any suggestions.
= == = =
Dana DeLouis



BHatMJ wrote:
I am using SOLVER for the first time and it appears that it is not
iterating.
The initial objective and "change" values do not change at all after
running
SOLVER.

My objective is to minimize the difference^2 between two columns of
data by
optimizing one cell which contains a "cut" value.

- The first column of data contains fixed integer values of 0 and 1 for
10,000 cases.
- The second column of data contains decimal values between 0 and 1 for
10,000 cases.
- A third column is calculated based on a cut value ("change" value)
where
values in the second column = cut are set to 1 and values < cut are
set to 0.
- The objective/target is to minimize the sum of the differences
between the
1st and 3rd column squared.

Can anyone help?




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 690
Default SOLVER does not iterate / work

minimize the sum of the differences ... squared.

Hi. Speaking very generally, Solver may see many "local" minimums when
doing this type of model. There may be a way to change your model.

Having said that, sometimes this can be quick way to visualize what's
going on. If the precision of the "cut" is not too great, perhaps have
a macro step thru the model, and record the output. Then graph the
data, and see what you got.
Perhaps have "cut" change from 0 to 1 step 0.01, and record the output
next to the cell. Then do a line graph of your data.

In some cases, this can be a quick workaround for a difficult problem.
It may also bring out any logic problems in the model setup.

= = = = = = = = =
Dana DeLouis




BHatMJ wrote:
Yes, the third column is based on IF() statements. Would you know of any
solutions to this issue or a work-around?

"Dana DeLouis" wrote:

- A third column is calculated based on a cut value ("change" value)
where
values in the second column = cut are set to 1 and values < cut are

set to 0.

Hi. Just a guess of course. Are you using IF() functions to make this
decision? If so, Solver "usually" will not work if you use these types
of functions.
Don't know exactly how you are set up to offer any suggestions.
= == = =
Dana DeLouis



BHatMJ wrote:
I am using SOLVER for the first time and it appears that it is not iterating.
The initial objective and "change" values do not change at all after running
SOLVER.

My objective is to minimize the difference^2 between two columns of data by
optimizing one cell which contains a "cut" value.

- The first column of data contains fixed integer values of 0 and 1 for
10,000 cases.
- The second column of data contains decimal values between 0 and 1 for
10,000 cases.
- A third column is calculated based on a cut value ("change" value) where
values in the second column = cut are set to 1 and values < cut are set to 0.
- The objective/target is to minimize the sum of the differences between the
1st and 3rd column squared.

Can anyone help?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Goal Seek or Solver to work Geri Excel Discussion (Misc queries) 1 October 15th 08 12:01 AM
Premium Solver does not work with Vista OT Excel Worksheet Functions 2 October 11th 08 11:42 PM
I need to install the solver add-in but my setup CD doesn't work. dd Setting up and Configuration of Excel 0 April 29th 06 11:46 PM
Solver does not work from Macros mjd918 Setting up and Configuration of Excel 1 January 6th 06 04:15 PM
How do I get Solver to work Graeme Excel Discussion (Misc queries) 6 September 22nd 05 04:33 AM


All times are GMT +1. The time now is 05:42 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"