Initializing help system before first use

# genmpnames

Purpose
Generate row, SOS and column names.
Synopsis
`void genmpnames(XPRMcontext ctx, XPRMlinctr obj, XPRMmpvar extra[], int strip);`
Arguments

ctx | Mosel's execution context
obj | Objective. Possible values are
NULL | No objective defined
XPRM_KEEPOBJ | Last objective used
linctr | Reference to a linear constraint to be used as the objective
extra | Array of decision variables to be added to the matrix even if they appear in no constraint. The last reference of the array must be NULL. This parameter may be NULL
strip | Use scrambled names if not 0

Example
see getnextcol and getmpname
Further information
This function generates the row, SOS and column names that can be accessed with function getmpname. Note that these names can be generated only if a matrix exists (this function may therefore generate a matrix if none is available).
Related topics
getnextcol, getmpname.
Parent Topic Matrix related functions

© 2001-2026 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.