From: Paul BIGNIER Date: Wed, 24 Apr 2013 09:12:49 +0000 (+0200) Subject: Optimization module: minor improvements in qpsolve() and qld() docs X-Git-Tag: 5.5.0-beta-1~762 X-Git-Url: http://gitweb.scilab.org/?p=scilab.git;a=commitdiff_plain;h=ba24b59b6b1a638a404eec1dd1bba7718ef34fee;hp=0370d90da172ababd02170821445eaf4f6c4ff6d Optimization module: minor improvements in qpsolve() and qld() docs Change-Id: I60777a7452e27687d9b62eda4c94015de0406415 --- diff --git a/scilab/modules/optimization/help/en_US/qld.xml b/scilab/modules/optimization/help/en_US/qld.xml index b213dc9..fd0a1fe 100644 --- a/scilab/modules/optimization/help/en_US/qld.xml +++ b/scilab/modules/optimization/help/en_US/qld.xml @@ -7,8 +7,7 @@ Calling Sequence - [x, lagr] = qld(Q, p, C, b, ci, cs, me [,tol]) - [x, lagr, info] = qld(Q, p, C, b, ci, cs, me [,tol]) + [x [,lagr [,info]]] = qld(Q, p, C, b, ci, cs, me [,tol]) @@ -176,7 +175,7 @@ C1= [1,-1,1,0,3,1; 2,5,3,0,1,0]; b1=[1;2;3]; -//C2*x <= b2 (2 inequality constraints) +//C2*x <= b2 (2 inequality constraints i.e md=2) C2=[0,1,0,1,2,-1; -1,0,2,1,1,0]; b2=[-1;2.5]; diff --git a/scilab/modules/optimization/help/en_US/qp_solve.xml b/scilab/modules/optimization/help/en_US/qp_solve.xml index 6f51267..9ef34be 100644 --- a/scilab/modules/optimization/help/en_US/qp_solve.xml +++ b/scilab/modules/optimization/help/en_US/qp_solve.xml @@ -161,7 +161,7 @@ C1= [ 1,-1, 2; 1, 6, 0]; b1=[1;2;3]; -// x'*C2 >= b2 (2 inequality constraints) +// x'*C2 >= b2 (2 inequality constraints i.e md=2) C2= [ 0 ,1; -1, 0; 0,-2; diff --git a/scilab/modules/optimization/help/en_US/qpsolve.xml b/scilab/modules/optimization/help/en_US/qpsolve.xml index a1ffd1b..8ce4bd7 100644 --- a/scilab/modules/optimization/help/en_US/qpsolve.xml +++ b/scilab/modules/optimization/help/en_US/qpsolve.xml @@ -139,7 +139,7 @@ C1= [1,-1,1,0,3,1; 2,5,3,0,1,0]; b1=[1;2;3]; -//C2*x <= b2 (2 inequality constraints) +//C2*x <= b2 (2 inequality constraints i.e md=2) C2=[0,1,0,1,2,-1; -1,0,2,1,1,0]; b2=[-1;2.5];