How could I write this equation in matlab?

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

Respuestas (1)

Alan Weiss
Alan Weiss el 11 de Sept. de 2015
Editada: Alan Weiss el 11 de Sept. de 2015

0 votos

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

Categorías

Más información sobre Parallel Computing Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 11 de Sept. de 2015

Editada:

el 11 de Sept. de 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by