File: jac2dim.h

package info (click to toggle)
libamplsolver 0~20190702-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 3,156 kB
  • sloc: ansic: 40,471; asm: 76; sh: 72; fortran: 51; makefile: 16
file content (44 lines) | stat: -rw-r--r-- 1,982 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*******************************************************************
Copyright (C) 2016 AMPL Optimization, Inc.; written by David M. Gay.

Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that the copyright notice and this permission notice and warranty
disclaimer appear in supporting documentation.

The author and AMPL Optimization, Inc. disclaim all warranties with
regard to this software, including all implied warranties of
merchantability and fitness.  In no event shall the author be liable
for any special, indirect or consequential damages or any damages
whatsoever resulting from loss of use, data or profits, whether in an
action of contract, negligence or other tortious action, arising out
of or in connection with the use or performance of this software.
*******************************************************************/

#ifndef JAC2DIM_H_included
#define JAC2DIM_H_included
#ifndef NLP_H2_included
#include "nlp2.h"
#endif

#ifdef __cplusplus
extern "C" {
#endif
 extern void hv2comp_ASL(ASL*, real *hv, real *p, int nobj, real *ow, real *y);
 extern void hv2compd_ASL(ASL*, real *hv, real *p, int co);
 extern varno_t hv2comps_ASL(ASL*, real *hv, real *p, int co, varno_t nz, varno_t *z);
 extern real con2ival_ASL(ASL*, int i, real *X, fint *ne);
 extern void con2grd_ASL (ASL*, int i, real *X, real *G, fint *nerror);
 extern void con2val_ASL (ASL*, real *X, real *F, fint *nerror);
 extern void jac2val_ASL (ASL*, real *X, real *J, fint *nerror);
 extern int  lcon2val_ASL(ASL*, int i, real *X, fint *ne);
 extern real obj2val_ASL (ASL*, int nobj, real *X, fint *nerror);
 extern void obj2grd_ASL (ASL*, int nobj, real *X, real *G, fint *ne);
 extern int  x2_check_ASL(ASL_fgh*, real*);
 extern int x2known_ASL (ASL*, real*, fint*);
#ifdef __cplusplus
	}
#endif

#endif /* JAC2DIM_H_included */