MAST
dot_optimization_interface.h
Go to the documentation of this file.
1 /*
2  * MAST: Multidisciplinary-design Adaptation and Sensitivity Toolkit
3  * Copyright (C) 2013-2019 Manav Bhatia
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 #ifndef __MAST_dot_optimization_interface_h__
21 #define __MAST_dot_optimization_interface_h__
22 
23 // MAST includes
25 
26 extern "C" {
27  extern void dot_(int* INFO,
28  int* METHOD,
29  int* IPRINT,
30  int* NDV,
31  int* NCON,
32  double* X,
33  double* XL,
34  double* XU,
35  double* OBJ,
36  int* MINMAX,
37  double* G,
38  double* RPRM,
39  int* IPRM,
40  double* WK,
41  int* NRWK,
42  int* IWK,
43  int* NRIWK);
44 }
45 
46 
47 namespace MAST {
48 
50 
51  public:
52 
54 
56  { }
57 
58  virtual void optimize();
59 
60 
61  protected:
62 
63  };
64 }
65 
66 
67 
68 
69 
70 #endif // __MAST_dot_optimization_interface_h__
void dot_(int *INFO, int *METHOD, int *IPRINT, int *NDV, int *NCON, double *X, double *XL, double *XU, double *OBJ, int *MINMAX, double *G, double *RPRM, int *IPRM, double *WK, int *NRWK, int *IWK, int *NRIWK)
Provides the basic interface API for classes the provide implement optimization problems.