From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: fmincon fixed costs
Date: Fri, 10 May 2013 14:06:07 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 2
Message-ID: <kmiusf$pbp$>
References: <kmh2fd$ena$> <kminjb$1ul$> <kmip2u$6hg$> <kmiqe3$al0$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1368194767 25977 (10 May 2013 14:06:07 GMT)
NNTP-Posting-Date: Fri, 10 May 2013 14:06:07 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 4297605
Xref: comp.soft-sys.matlab:795301

so there's a supply chain.... products moving along certain pathways from manufacturers to the retailers. when two companies undergo a merger or an acquisition, the supply chain merges.... now i use fmincon to optimize the flow, find the most economical path the products should take, but during mergers new links are created, say from manufacturer of firm A to warehouse of firm B, now there are costs associated with establishing these new links, what i call fixed costs, and variable costs which is a function of the flow along that path/link. i've modelled variable costs and optimized my results, but i am unable to incorporate the fixed costs which must be 0 if there is no flow on the new link and non-zero if there is ANY flow on that link because sometimes there could be an optimal solution if one link is not established AT ALL and the flow which is supposed to be on that link is balanced 
on another