Skip to main content

optiSLang MOPSolver API 2024 R1

mopsolver_api2_hash

Last update: 16.07.2025
1/* $Rev$ */
2
3#ifndef DYNARDO_MOPSOLVERAPI2_HASH_H
4#define DYNARDO_MOPSOLVERAPI2_HASH_H
5
7
13DYNARDO_MOPSOLVER_API
14int dmop2_hasSurrogate_hash(
15 const char* _omdbfile,
16 const char* _hash);
17
29DYNARDO_MOPSOLVER_API
30int dmop2_getDimensions_hash(
31 const char* _omdbfile,
32 unsigned int _flags,
33 unsigned int *_dimensions,
34 unsigned int _size_dimensions,
35 const char* _hash);
36
52DYNARDO_MOPSOLVER_API
53int dmop2_solve_hash(
54 const char* _omdbfile,
55 unsigned int _num_designs,
56 const double *_inputs,
57 unsigned int _size_inputs,
58 unsigned int _flags,
59 double *_responses,
60 unsigned int _size_responses,
61 const char* _hash);
62
78DYNARDO_MOPSOLVER_API
79int dmop2_get_per_response_hash(
80 const char* _omdbfile,
81 unsigned int _num_designs,
82 const double* _inputs,
83 unsigned int _size_inputs,
84 const char* _response_name,
85 unsigned int _flags,
86 double* _responses,
87 unsigned int _size_responses,
88 const char* _hash);
89
97DYNARDO_MOPSOLVER_API
98int dmop2_getNames_hash(const char* _omdbfile,
99 DMOP2_NAME_FLAG _flag,
100 char **_names,
101 const char* _hash);
102
113DYNARDO_MOPSOLVER_API
114int dmop2_getNamesWithDelimiter_hash(const char* _omdbfile,
115 DMOP2_NAME_FLAG _flag,
116 char **_names,
117 const char* _delimiter,
118 const char* _hash);
119
126DYNARDO_MOPSOLVER_API
127int dmop2_getInputBounds_hash(const char* _omdbfile,
128 double *_limits,
129 const char* _hash);
130
138DYNARDO_MOPSOLVER_API
139int dmop2_getInputBoundsPerParameter_hash(const char* _omdbfile,
140 const char* _param_name,
141 double *_limits,
142 const char* _hash);
143
151DYNARDO_MOPSOLVER_API
152int dmop2_getReferenceValuePerParameter_hash(const char* _omdbfile,
153 const char* _param_name,
154 double * _ref_val,
155 const char* _hash);
156
164DYNARDO_MOPSOLVER_API
165int dmop2_getCoPValuesPerResponse_hash(const char* _omdbfile,
166 const char* _response_name,
167 double *_cop_vals,
168 const char* _hash);
169
177DYNARDO_MOPSOLVER_API
178int dmop2_getFilteredStatesPerResponse_hash(const char* _omdbfile,
179 const char* _response_name,
180 int *_filtered_states,
181 const char* _hash);
182
183#endif
DMOP2_NAME_FLAG
Definition: mopsolver_api2_shared.h:39

Connect with Ansys