Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by cnestg8r

  1. cnestg8r

    fmincon setup

    I need help setting up fmincon. Assume: C=[12 13; 13 12; 14 14]; %cost matrix where C.*v = T min f(v)= sum(sum(T)); S=[6 6]; %supply vector D=[3; 2; 4]; %demand vector constraints: S => sum(v,1); D <= sum(v,2); how do I apply to fmincon?? MANY THANKS!

Part and Inventory Search