GAMSlinks
0.4
Main Page
Classes
Files
File List
File Members
GAMSlinks
src
GamsIO
SmagExtra.h
Go to the documentation of this file.
1
/* Copyright (C) 2008
2
All Rights Reserved.
3
This code is published under the Common Public License.
4
5
$Id: SmagExtra.h 510 2008-08-16 19:31:27Z stefan $
6
7
Author: Stefan Vigerske
8
*/
9
10
#ifndef SMAGEXTRA_H_
11
#define SMAGEXTRA_H_
12
13
#include "
GAMSlinksConfig.h
"
14
15
#include "smag.h"
16
17
#if defined(__cplusplus)
18
extern
"C"
{
19
#endif
20
38
int
smagSingleHessians
(smagHandle_t prob,
int
* hesRowIdx,
int
* hesColIdx,
double
* hesValue,
int
hesSize,
int
* rowStart);
39
49
int
smagEvalObjGradProd
(smagHandle_t prob,
double
* x,
double
* d,
double
* f,
double
* df_d);
50
51
#if defined(__cplusplus)
52
}
/* extern "C" */
53
#endif
54
55
#endif
/*SMAGEXTRA_H_*/
GAMSlinksConfig.h
smagEvalObjGradProd
int smagEvalObjGradProd(smagHandle_t prob, double *x, double *d, double *f, double *df_d)
EXPERIMENTAL FUNCTION: Computes the directional derivative of the objective function.
smagSingleHessians
int smagSingleHessians(smagHandle_t prob, int *hesRowIdx, int *hesColIdx, double *hesValue, int hesSize, int *rowStart)
Gives the structure of the Hessian of the objective and each constraint separately.
Generated by
1.8.5