Skip to content

mrwgx3/NLOPT_EA

Repository files navigation

//
// This code demonstrates an example usage of class structures to
// implement the NLOPT tutorial in C#:
//
//    https://nlopt.readthedocs.io/en/latest/NLopt_Reference/
//
//    https://nlopt.readthedocs.io/en/latest/NLopt_Tutorial/
//
// The demonstartion uses Brannon King's C# wrapper for NLOPT 'C',
// which is available as a NUGET package:
//
//   Github page, NloptNet, C# wrapper around the NLopt C library
//   https://github.com/BrannonKing/NLoptNet
//
//   Another download page for C# Nlopt
//   https://www.nuget.org/packages/NLoptNet
//
//   Notes:
//
//   1) The wrapper syntax IS different than what's given in
//      the NLOPT reference.
//
//   2) The code was translated from C++ which used multiple
//      outstreams, hence the C# coding may be a bit strange.
//

Output File:

//===========================================================================

//TXA  LD_MMA


Found minimum (0.5443310) at f( xv[] ), where
xv[0] = 0.3333333
xv[1] = 0.2962963

Found minimum after (18) evaluations


//===========================================================================

TXA  LN_COBYLA


Found minimum (0.5443311) at f( xv[] ), where
xv[0] = 0.3333333
xv[1] = 0.2962963

Found minimum after (44) evaluations

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages