Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
jpr jpr is offline
external usenet poster
 
Posts: 1
Default target cells in solver

i need more than one target cell in the solver..... i have two variables that
have to merge to zero not be exactly zero....
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 812
Default target cells in solver

The target cell must be a single cell. Try this. Use the ABS function
on the two cells you want near zero, then make the Solver target the
sum of those two cells and minimize it.

Hth,
Merjet

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default target cells in solver

On Jun 16, 4:29 pm, merjet wrote:
The target cell must be a single cell. Try this. Use the ABS function
on the two cells you want near zero, then make theSolvertarget the
sum of those two cells and minimize it.

Hth,
Merjet


Don't do ABS unless you absolutely have to. It's non-linear and could
give you a ton of trouble. If you have two variables a and b that you
want to minimize, then make your objective function simply min a + b.
If a + b must be greater than 0, then you have to add a secondary
constraint, a + b = some small value (epsilon).

SteveM
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
Several target cells in the solver omathilde Excel Discussion (Misc queries) 4 October 23rd 09 05:06 PM
How do I set more than 1 target cell using MS Solver? n8wildey Excel Worksheet Functions 5 January 3rd 09 10:25 AM
How to get Solver to target array rather than cell? h.2 Excel Worksheet Functions 3 October 19th 06 05:29 AM
Goalseek / Solver Target Value msnews.microsoft.com Excel Worksheet Functions 1 December 2nd 05 01:41 PM
Help - loop through cells in a range that are not together (several different cells as Target) Marie J-son[_5_] Excel Programming 4 April 3rd 05 09:54 PM


All times are GMT +1. The time now is 09:55 PM.

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"