summaryrefslogtreecommitdiff
path: root/help/en_US/Symphony Native Function/sym_setVarSoln.xml
diff options
context:
space:
mode:
Diffstat (limited to 'help/en_US/Symphony Native Function/sym_setVarSoln.xml')
-rw-r--r--help/en_US/Symphony Native Function/sym_setVarSoln.xml63
1 files changed, 63 insertions, 0 deletions
diff --git a/help/en_US/Symphony Native Function/sym_setVarSoln.xml b/help/en_US/Symphony Native Function/sym_setVarSoln.xml
new file mode 100644
index 0000000..5fe6f3c
--- /dev/null
+++ b/help/en_US/Symphony Native Function/sym_setVarSoln.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<refentry version="5.0-subset Scilab" xml:id="sym_setVarSoln" xml:lang="en"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:ns3="http://www.w3.org/1999/xhtml"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:db="http://docbook.org/ns/docbook">
+
+ <refnamediv>
+ <refname>sym_setVarSoln</refname>
+ <refpurpose>Set a solution for the problem</refpurpose>
+ </refnamediv>
+
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>sym_setVarSoln(solution)</synopsis>
+ </refsynopsisdiv>
+
+ <refsection>
+ <title>Description</title>
+
+ <para>Sets a known solution for the problem.</para>
+ <para>This function fails if the solution entered does not satisfy all bounds or is worse than another currently known solution.</para>
+
+ </refsection>
+
+ <refsection>
+ <title>Arguments</title>
+
+ <variablelist>
+ <varlistentry>
+ <term>solution</term>
+ <listitem><para>Matrix containing solutions for the variables (must have size 1 row and number of columns equal to number of variables)</para></listitem>
+ </varlistentry>
+ </variablelist>
+
+ </refsection>
+
+ <refsection>
+ <title>Return value</title>
+
+ <para>Returns 0</para>
+
+ </refsection>
+
+ <refsection>
+ <title>Examples</title>
+
+ <programlisting role="example">sym_setVarSoln([1,2,3.2,4])</programlisting>
+
+ </refsection>
+
+ <refsection>
+ <title>Authors</title>
+
+ <simplelist type="vert">
+ <member>Keyur Joshi</member>
+
+ </simplelist>
+ </refsection>
+</refentry>
+