Skip to main content

optiSLang MOPSolver API 2024 R1

mopsolver_api2

Last update: 16.07.2025
Go to the documentation of this file.
1
5#ifndef DYNARDO_MOPSOLVERAPI2_H
6#define DYNARDO_MOPSOLVERAPI2_H
7
9
14DYNARDO_MOPSOLVER_API
15int dmop2_hasSurrogate(const char* _omdbfile);
16
27DYNARDO_MOPSOLVER_API
29 const char* _omdbfile,
30 unsigned int _flags,
31 unsigned int *_dimensions,
32 unsigned int _size_dimensions);
33
48DYNARDO_MOPSOLVER_API
49int dmop2_solve(
50 const char* _omdbfile,
51 unsigned int _num_designs,
52 const double *_inputs,
53 unsigned int _size_inputs,
54 unsigned int _flags,
55 double *_responses,
56 unsigned int _size_responses);
57
72DYNARDO_MOPSOLVER_API
74 const char* _omdbfile,
75 unsigned int _num_designs,
76 const double* _inputs,
77 unsigned int _size_inputs,
78 const char* _response_name,
79 unsigned int _flags,
80 double* _responses,
81 unsigned int _size_responses);
82
89DYNARDO_MOPSOLVER_API
90int dmop2_getNames(const char* _omdbfile,
91 DMOP2_NAME_FLAG _flag,
92 char **_names);
93
103DYNARDO_MOPSOLVER_API
104int dmop2_getNamesWithDelimiter(const char* _omdbfile,
105 DMOP2_NAME_FLAG _flag,
106 char **_names,
107 const char * _delimiter);
108
114DYNARDO_MOPSOLVER_API
115int dmop2_getInputBounds(const char* _omdbfile,
116 double *_limits);
117
124DYNARDO_MOPSOLVER_API
125int dmop2_getInputBoundsPerParameter(const char* _omdbfile,
126 const char* _param_name,
127 double *_limits);
128
135DYNARDO_MOPSOLVER_API
136int dmop2_getReferenceValuePerParameter(const char* _omdbfile,
137 const char* _param_name,
138 double * _ref_val);
139
146DYNARDO_MOPSOLVER_API
147int dmop2_getCoPValuesPerResponse(const char* _omdbfile,
148 const char* _response_name,
149 double *_cop_vals);
150
157DYNARDO_MOPSOLVER_API
158int dmop2_getFilteredStatesPerResponse(const char* _omdbfile,
159 const char* _response_name,
160 int *_filtered_states);
161
162#endif
163
DYNARDO_MOPSOLVER_API int dmop2_get_per_response(const char *_omdbfile, unsigned int _num_designs, const double *_inputs, unsigned int _size_inputs, const char *_response_name, unsigned int _flags, double *_responses, unsigned int _size_responses)
Definition: mopsolver_dll.cpp:1058
DYNARDO_MOPSOLVER_API int dmop2_getNamesWithDelimiter(const char *_omdbfile, DMOP2_NAME_FLAG _flag, char **_names, const char *_delimiter)
Definition: mopsolver_dll.cpp:443
DYNARDO_MOPSOLVER_API int dmop2_getInputBoundsPerParameter(const char *_omdbfile, const char *_param_name, double *_limits)
Definition: mopsolver_dll.cpp:834
DYNARDO_MOPSOLVER_API int dmop2_solve(const char *_omdbfile, unsigned int _num_designs, const double *_inputs, unsigned int _size_inputs, unsigned int _flags, double *_responses, unsigned int _size_responses)
Definition: mopsolver_dll.cpp:529
DYNARDO_MOPSOLVER_API int dmop2_getCoPValuesPerResponse(const char *_omdbfile, const char *_response_name, double *_cop_vals)
Definition: mopsolver_dll.cpp:936
DYNARDO_MOPSOLVER_API int dmop2_getFilteredStatesPerResponse(const char *_omdbfile, const char *_response_name, int *_filtered_states)
Definition: mopsolver_dll.cpp:1000
DYNARDO_MOPSOLVER_API int dmop2_getReferenceValuePerParameter(const char *_omdbfile, const char *_param_name, double *_ref_val)
Definition: mopsolver_dll.cpp:899
DYNARDO_MOPSOLVER_API int dmop2_getDimensions(const char *_omdbfile, unsigned int _flags, unsigned int *_dimensions, unsigned int _size_dimensions)
Definition: mopsolver_dll.cpp:283
DYNARDO_MOPSOLVER_API int dmop2_hasSurrogate(const char *_omdbfile)
Definition: mopsolver_dll.cpp:247
DYNARDO_MOPSOLVER_API int dmop2_getNames(const char *_omdbfile, DMOP2_NAME_FLAG _flag, char **_names)
Definition: mopsolver_dll.cpp:430
DYNARDO_MOPSOLVER_API int dmop2_getInputBounds(const char *_omdbfile, double *_limits)
Definition: mopsolver_dll.cpp:770
DMOP2_NAME_FLAG
Definition: mopsolver_api2_shared.h:39

Connect with Ansys