Coder Social home page Coder Social logo

jppbsi / libopt Goto Github PK

View Code? Open in Web Editor NEW
39.0 39.0 13.0 3.34 MB

LibOPT is an optimization library developed in C language for the development of meta-heuristic-based techniques.

License: Apache License 2.0

Makefile 1.59% C 95.01% Objective-C 2.72% C++ 0.67%

libopt's People

Contributors

danilown avatar douglasrodrigues avatar gugarosa avatar jppbsi avatar leandropassosjr avatar marcoscleison avatar maykonmichel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libopt's Issues

Optimization for integer or binary variables

For many problems one needs to optimize vectors or integers (from N1 to N2). I tried with many methods by casting the variables to integer e.g. (int) a->x[0]; for the objective function but using GA for example most value end-up becoming close to zero ... any suggestions ? For binaries variables I would try variables from 0.0 to 1.0 and taking 0.5 as threshold for 0 or 1.

GA doesn't seem to be respecting search interval bounds

Hello!
Running GA optimization wtih the following parameters:

- target_fn: sphere
- n_variables: 10
- n_agents: 20
- mutation_rate = 0.2
- search_interval: [10, 20] for all variables

yields f(x*) = 0 as optimal value, which is only possible at the space origin, outside the search space. In this case, the expected optimal value should be f(x*) = (10^2)*10 = 1000.

New Function Optimizer Proposal

I've created a new stochastic function optimizer which you may be interested in evaluating. It's written in C++, but interfacing with it should not be hard. What I'm interested in is hearing your opinion, based on your benchmarking routine. I'm using a slightly different test function set, and the optimizer solves most problems given at least 50 optimization attempts are performed, up to 2000 iterations each.

Of course, you may include it into your project if you find it interesting.

https://github.com/avaneev/biteopt

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.