MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > fmincon fixed costs 

I am using Matlab R2012a and I am trying to incorporate fixed costs in establishing links in a supply chain. My objective function is very similar to the one discussed in this thread http://www.mathworks.in/matlabcentral/newsreader/view_thread/314409 
On 5/9/2013 4:55 PM, Nivi wrote: 
Alan_Weiss <aweiss@mathworks.com> wrote in message <kminjb$1ul$1@newscl01ah.mathworks.com>... 
"Nivi" wrote in message <kmip2u$6hg$1@newscl01ah.mathworks.com>... 
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 nonzero 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 
"Nivi" wrote in message <kmiusf$pbp$1@newscl01ah.mathworks.com>... 
No tags are associated with this thread.
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.