Code Monkey home page Code Monkey logo

desdeo's Introduction

DESDEO README

Available on PyPI Documentation Status Build Status Code style: black

DESDEO is a free and open source Python-based framework for developing and experimenting with interactive multiobjective optimization.

Documentation is available.

Background and publications available on the University of Jyväskylä Research Group in Industrial Optimization web pages.

Try in your browser

You can try a guided example problem in your browser: choose how to deal with river pollution using NIMBUS. You can also browse the other examples.

What is interactive multiobjective optimization?

There exist many methods to solve multiobjective optimization problems. Methods which introduce some preference information into the solution process are commonly known as multiple criteria decision making methods. When using so called interactive methods, the decision maker (DM) takes an active part in an iterative solution process by expressing preference information at several iterations. According to the given preferences, the solution process is updated at each iteration and one or several new solutions are generated. This iterative process continues until the DM is sufficiently satisfied with one of the solutions found.

Many interactive methods have been proposed and they differ from each other e.g. in the way preferences are expressed and how the preferences are utilized when new solutions. The aim of the DESDEO is to implement aspects common for different interactive methods, as well as provide framework for developing and implementing new methods.

Installation

From conda-forge using Conda

This is the recommended installation method, especially for those who are newer to Python. First download and install the Anaconda Python distribution.

Next, run the following commands in a terminal:

conda config --add channels conda-forge
conda install desdeo desdeo-vis

Note: if you prefer not to install the full Anaconda distribution, you can install miniconda instead.

From PyPI using pip

Assuming you have Pip and Python 3 installed, you can install desdeo from PyPI by running the following command in a terminal:

pip install desdeo[vis]

This installs desdeo and desdeo-vis, which you will also want in most cases.

Getting started with example problems

To proceed with this section, you must first install Jupyter notebook. If you're using Anaconda, you already have it!

You can copy the example notebooks to the current directory by running:

python -m desdeo_notebooks

You can then open them using Jupyter notebook by running:

jupyter notebook

After trying out the examples, the next step is to read the full documentation.

Development

Set-up

You should install the git pre-commit hook so that code formatting is kept consistent automatically. This is configured using the pre-commit utility. See the installation instructions. In short, pre-commit hook can be installed as

pip install --upgrade pre-commit
pre-commit install

If you are using pipenv for development, you can install desdeo and its dependencies after obtaining a git checkout like so:

pipenv install -e .[docs,dev,vis]

Tests

Tests use pytest. After installing pytest you can run:

pytest tests

Release process

  1. Make a release commit in which the version is incremented in setup.py and an entry added to HISTORY.md

  2. Make a git tag of this commit with git tag v$VERSION

  3. Push -- including the tags with git push --tags

  4. Upload to PyPI with python setup.py sdist bdist_wheel and twine upload dist/*

desdeo's People

Contributors

frankier avatar ferrety avatar bshavazipour avatar light-weaver avatar gialmisi avatar yuezhoukangas avatar

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.