Code Monkey home page Code Monkey logo

dfo-algorithm's Introduction

dfo-algorithm

This package provides an implementation of the derivative-free optimization algorithm, DFO, developed by A. Conn, K. Scheinberg, L. Vicente. Using this package, the user can solve a derivative-free blackbox optimization problem with the DFO method as well as five derivative free algorithms from the scipy.optimize library. The scipy algorithms are the Nelder-Mead, Powell, SLSQP, COBYLA and BFGS algorithms.

To run a set of sample problems, the user can call the “run_test_func.py” module.

To solve a user-defined problem:

  • Write your blackbox optimization function in a new Python module. For examples of such functions see blackbox_opt/test_funcs/funcs_def.py
  • Write a run file with the module you wrote in the previous step imported. You can modify the run_test_func.py module and use it as your run file. Note that you should specify the algorithms(s) that you wish to solve your problems with, a starting point and suitable options.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.