Functions | Variables
nlopt_wrapper.cpp File Reference
#include <stdio.h>
#include <iostream>
#include <sstream>
#include <stdlib.h>
#include <vector>
#include <nlopt.h>
#include "nlopt_solver.h"
Include dependency graph for nlopt_wrapper.cpp:

Go to the source code of this file.

Functions

int get_result ()
 
double * optimize (double *x, const double *x_min, const double *x_max, int(*f)(double *, double *), int(*df)(double *, double *), int(*g)(double *, double *), int(*dg)(double *, double *), int(*h)(double *, double *), int(*dh)(double *, double *), int m_x, int m_g, int m_h, double ftol, double xtol, double eqthre, int max_eval, double max_time, int log, Optimization::NLopt::Algorithm algorithm, double *fbuf, double *dfbuf, double *gbuf, double *dgbuf, double *hbuf, double *dhbuf)
 
int stop ()
 

Variables

NLoptSolvernos_buf
 
int result = 0
 

Function Documentation

int get_result ( )

Definition at line 15 of file nlopt_wrapper.cpp.

double* optimize ( double *  x,
const double *  x_min,
const double *  x_max,
int(*)(double *, double *)  f,
int(*)(double *, double *)  df,
int(*)(double *, double *)  g,
int(*)(double *, double *)  dg,
int(*)(double *, double *)  h,
int(*)(double *, double *)  dh,
int  m_x,
int  m_g,
int  m_h,
double  ftol,
double  xtol,
double  eqthre,
int  max_eval,
double  max_time,
int  log,
Optimization::NLopt::Algorithm  algorithm,
double *  fbuf,
double *  dfbuf,
double *  gbuf,
double *  dgbuf,
double *  hbuf,
double *  dhbuf 
)

Definition at line 26 of file nlopt_wrapper.cpp.

int stop ( )

Definition at line 19 of file nlopt_wrapper.cpp.

Variable Documentation

NLoptSolver* nos_buf

Definition at line 12 of file nlopt_wrapper.cpp.

int result = 0

Definition at line 11 of file nlopt_wrapper.cpp.



eus_nlopt
Author(s):
autogenerated on Fri May 14 2021 02:51:41