% This computes function value for IPM_D. 
%
% Jan 12, 2012

function fval = function_value(X,w,mu)

D = svd(X);

fval = -sum(log(D)) - mu*sum(log(w)) - mu*log(1 - sum(w));

