Hi,

I have a optimasation problem where i want to minimise a function (A) which has a number of varibales (T) and a number of these are constarined.

I was wondering what code i use to do this, because fmincon only minimises T to find A.

T is a matrix of 10 values in a 1 x 10 by matrix and i want to constrain some values so some values of T are greater or less than others and 4 of them are fixed.

Id appreciate any help

Rem