OPE2

esto es lo que estamos haciendo en ope2 😉

min = 500*(x1+x2+x3+x4) + 30*(i1+i2+i3+i4)+ 200*(x1-3)^2 + 200*(x2-x1)^2 + 200*(x3-x2)^2 + 200*(x4-x3)^2;
x1 - 5 = i1;
i1 + x2 - 3 = i2;
i2 + x3 - 4 = i3;
i3 + x4 - 2 = i4;

PD, tengo que mejorar el formato del tag code…

Leave a Reply

Your email address will not be published. Required fields are marked *

Are you human? *

This site uses Akismet to reduce spam. Learn how your comment data is processed.