Initializing help system before first use

Procedures and functions

The module mmnl overloads certain mathematical functions of the Mosel language, replacing an argument of type real by the types linctr and nlctr. The return value of these functions is of type nlctr. This means they can be used as operators in the definition of nonlinear constraints as shown in the example of Section Example: using mmnl for QCQP. The relevant functions are:

  • Arithmetic functions:
    abs
    absolute value
    ceil
    rounding to the next largest integer
    exp
    natural exponent of the argument
    floor
    rounding to the next smallest integer
    ln
    natural logarithm of the argument
    log
    base 10 logarithm of the argument
    round
    rounding to the nearset integer
    sqrt
    positive square root of the argument
    sign
    sign of an expression (-1 if negative, 1 if positive, 0 othewise)
  • Trigonometric functions:
    arccos
    arccosine of the argument
    arcsin
    arcsine of the argument
    arctan
    arctangent of the argument
    cos
    cosine of the argument
    sin
    sine of the argument
    tan
    tangent of the argument

Since these mathematical operators are fairly self-explanatory, we shall forego any more detailed documentation of these functions.

The following list gives an overview of all other functions and procedures defined by mmnl for which we give detailed descriptions later.

clearinitvals
Delete all initial value definitions.
copysoltoinit
Copy solution values to initial values.
getsol
Get the solution value of a nonlinear constraint.
gettype
Get the type of a nonlinear constraint.
ishidden
Test whether a constraint is hidden.
sethidden
Hide or unhide a nonlinear constraint.
setinitval
Set an initial value (start value) for a variable.
setname
Associate a matrix name to a nonlinear constraint.
settype
Set the type of a nonlinear constraint.

© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.