NAG CPP Interface
nagcpp::opt::nlp1_init (e04wb)

1 Purpose

nlp1_init is used to initialize functions e04dgf (no CPP interface), e04mff (no CPP interface), e04ncf (no CPP interface), e04nff (no CPP interface), e04nkf (no CPP interface), nlp1_​solve(_old), e04uff (no CPP interface), e04ugf (no CPP interface) and e04usf (no CPP interface).

2 Specification

#include "e04/nagcpp_e04wb.hpp"
#include "e04/nagcpp_class_CommE04WB.hpp"
template <typename COMM>

void function nlp1_init(const string rname, COMM &comm, OptionalE04WB opt)
template <typename COMM>

void function nlp1_init(const string rname, COMM &comm)

3 Description

nlp1_init initializes some or all of the arrays cwsav, lwsav, iwsav and rwsav for the function and any associated option setting functions.

4 References

None.

5 Arguments

1: rname string Input
On entry: the name of the function to be initialized.
Constraint: rname must be the name of one of the functions initialized by nlp1_init.
2: comm CommE04WB Output
Communication structure.
3: opt OptionalE04WB Input/Output
Optional parameter container, derived from Optional.

6 Exceptions and Warnings

Errors or warnings detected by the function:
All errors and warnings have an associated numeric error code field, errorid, stored either as a member of the thrown exception object (see errorid), or as a member of opt.ifail, depending on how errors and warnings are being handled (see Error Handling for more details).
Raises: ErrorException
errorid=1
On entry, rname=value was not a valid function name.
errorid=-99
An unexpected error has been triggered by this routine.
errorid=-399
Your licence key may have expired or may not have been installed correctly.
errorid=-999
Dynamic memory allocation failed.

7 Accuracy

Not applicable.

8 Parallelism and Performance

Please see the description for the underlying computational routine in this section of the FL Interface documentation.

9 Further Comments

The time taken by nlp1_init is negligible.

10 Example

Examples for the NAG CPP Interface are not currently available.