1 <?xml version="1.0" encoding="ISO-8859-1"?>
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2008 - INRIA
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
13 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="karmarkar"><info><pubdate>$LastChangedDate$</pubdate></info><refnamediv><refname>karmarkar</refname><refpurpose> karmarkar algorithm</refpurpose></refnamediv>
19 <refsynopsisdiv><title>Calling Sequence</title><synopsis>[x1]=karmarkar(a,b,c,x0)</synopsis></refsynopsisdiv>
20 <refsection><title>Parameters</title>
25 <para>matrix (n,p)</para>
31 <para> n - vector</para>
37 <para> p - vector</para>
43 <para> initial vector</para>
49 <para>threshold (default value : 1.d-5)</para>
55 <para>descent step <literal>0<gamma<1</literal> , default value : 1/4</para>
67 <para>value of c'*x1</para>
72 <refsection><title>Description</title>
74 Computes <literal>x</literal> which minimizes</para>
75 <programlisting><![CDATA[
81 under constraints:</para>
82 <programlisting><![CDATA[
89 <refsection><title>Examples</title><programlisting role="example"><![CDATA[
92 // a=rand(n,p);c=rand(p,1);x0=abs(rand(p,1));b=a*x0;x1=karmarkar(a,b,c,x0);
94 ]]></programlisting></refsection>