How could I write this equation in matlab?
3 views (last 30 days)
Show older comments
i=product i j=small batch size
xij= decision variable 1, quantity of ij to make rij= revenue per unit for ij vij= variable cost for ij yij= decision variable 2, decision to make ij Fi= fixed cost to make ij Di= demand of i
I have not given numerical values yet to the variables such as revenue, variable cost and fixed cost, but I just need a general format for coding this.
Thank you
0 Comments
Answers (1)
Alan Weiss
on 11 Sep 2015
Edited: Alan Weiss
on 11 Sep 2015
This looks like a Mixed-Integer Linear Programming problem. I suggest that you look at the examples in the documentation. Your problem seems to share a lot of features with the factory problem, but you might want to consult the basics problem first.
Alan Weiss
MATLAB mathematical toolbox documentation
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!