Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dan dan is offline
external usenet poster
 
Posts: 866
Default Excel Solver constraints

A little background on the problem I'm trying to solve:

I'm trying to make excel figure out the idea layout of my shop (using x and
y coordinates of each machine) I have part sequences for individual parts of
what machines they travel to, and a total distance traveled. I'm trying to
minimize the total distance traveled by changing the coordinate cells that
represent the machine locations.

It works, only problem is that it sets all of the machines to the same
coordinates (obviously impossible because I cant stack machines one atop the
other).

How do i introduce a constraint that tells solver "do not use the same
coordinates for each machine"

I've tried making if statements that return a value of 1 of the machines do
not have the same coordinate, and -1 if they do and then introducing the
constraint where those cells must be greater than 0, but that doesn't seem to
work

any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 947
Default Excel Solver constraints

I've tried making if statements that return a value of 1 of the machines
do
not have the same coordinate, and -1 if they do ...


Hi. In general, Excel's solver will not work with IF() functions because it
can not track "why" cell values change.
Feel free to send me your workbook, and I'll be glad to take a look at it.
Maybe we can come up with an alternative model.

--
Dana DeLouis


"Dan" wrote in message
...
A little background on the problem I'm trying to solve:

I'm trying to make excel figure out the idea layout of my shop (using x
and
y coordinates of each machine) I have part sequences for individual parts
of
what machines they travel to, and a total distance traveled. I'm trying to
minimize the total distance traveled by changing the coordinate cells that
represent the machine locations.

It works, only problem is that it sets all of the machines to the same
coordinates (obviously impossible because I cant stack machines one atop
the
other).

How do i introduce a constraint that tells solver "do not use the same
coordinates for each machine"

I've tried making if statements that return a value of 1 of the machines
do
not have the same coordinate, and -1 if they do and then introducing the
constraint where those cells must be greater than 0, but that doesn't seem
to
work

any suggestions?



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
Set solver constraints so variables are either 1 OR 0. Gwyndalf Excel Worksheet Functions 3 May 28th 08 06:44 PM
Excel Solver (Maximum Limit of no. of variables & constraints) Ritesh Excel Discussion (Misc queries) 1 August 8th 06 05:54 PM
Excel Solver Constraints jcoleman52 Excel Discussion (Misc queries) 2 June 1st 06 08:00 PM
Constraints in Excel Solver Donna Excel Worksheet Functions 1 December 4th 05 10:27 PM
Solver Constraints Rick Excel Discussion (Misc queries) 15 March 9th 05 03:17 PM


All times are GMT +1. The time now is 01:50 AM.

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

About Us

"It's about Microsoft Excel"