<?xml version="1.0" encoding="UTF-8"?> <refentry version="5.0-subset Scilab" xml:id="sym_getObjSense" 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_getObjSense</refname> <refpurpose>Get the objective sense</refpurpose> </refnamediv> <refsynopsisdiv> <title>Calling Sequence</title> <synopsis>sym_getObjSense()</synopsis> </refsynopsisdiv> <refsection> <title>Description</title> <para>This function gets the sense of the objective function (minimization/maximization).</para> </refsection> <refsection> <title>Arguments</title> <para>This function takes no arguments</para> </refsection> <refsection> <title>Return value</title> <para>Returns 1 if the objective is to be minimized and -1 if the objective is to be maximized</para> </refsection> <refsection> <title>Examples</title> <programlisting role="example">sym_getObjSense()</programlisting> </refsection> <refsection> <title>Authors</title> <simplelist type="vert"> <member>Keyur Joshi</member> </simplelist> </refsection> </refentry>