<< sifconmin CUTEr siffsqp >>

CUTEr >> CUTEr > sifdecode

sifdecode

decode a SIF problem

Calling Sequence

sifdecode(Pathin,Pathout [,opts])

Parameters

Pathin

string, path of the SIF file

Pathout

string, path of the directory where the problem files will be created

opts

vector [algo print diff ad prec], default value is [3 0 0 2 1]

algo

integer, specify the targeted solver.

1 : for the SBMIN LANCELOT solver.

2 : for the AUGLD LANCELOT solver.

3 : generic solver.

print

integer, specify whether the problem should be described( negative value: DEBUG,zero:NO,positive value:YES)

diff

integer, specify whether the derivatives are supplied or are to be computed using automatic differentiation

0 : the derivatives are provided

1 : derivatives are generated by forward automatic differentiation.

2 : derivatives are generated by backward automatic differentiation.

Two later cases requires the HSL_AD01 (ad=1) or HSL_AD02 (ad=2) libraries to be able to build and execute the generated code .

ad

integer, specify the HSL_AD library to be used:

0 : no HSL_AD library used

1 : generated code uses HSL_AD01.

2 : generated code uses HSL_AD02.

prec

integer, Specify the precision of the output files

0 stands for single precision (cannot be used if codes are intended to be used with Scilab).

1 stands for double precision (required for Scilab).

Description

Given a SIF (Standard Input Format) file

sifdecode(Pathin,Pathout [,opts]) generates associated Fortran routines RANGE.f, EXTER.f,ELFUN.f, GROUP.f and if automatic differentiation is required ELFUND.f, GROUPD.f,EXTERA.f

An associated data file named OUTSDIF.d and an Output messages file OUTMESS are also generated. All these files are created in the directory whose path is given in Pathout

The sifdecode function is based on the Sifdec code (sifdec). More precisely it results of an interface of SDLANC Fortran procedure.

See Also

Authors

Serge Steer, INRIA

References

  • LANCELOT
  • CUTEr
  • sifdec
  • sif files repository
  • sif files repository

  • Report an issue
    << sifconmin CUTEr siffsqp >>