Code covered by the BSD License  

Highlights from
OpenOpt

image thumbnail

OpenOpt

by

 

25 Nov 2006 (Updated )

nonSmoothSolve (similar to fsolve), non-smooth & noisy local + some global solvers; works in Octave

isUC(prob)
function r = isUC(prob)
r = 0;
if isempty(prob.A) && isempty(prob.Aeq) &&...
        isempty(prob.c) && isempty(prob.h) &&...
        (isempty(prob.lb) || all(prob.lb==-inf)) && ...
        (isempty(prob.ub) || all(prob.ub==inf))
    r = 1;% is UC
end

Contact us