Git Product home page Git Product logo

non-linear-optimization's Introduction

Non-linear-Optimization

=================================================================================== Citrine Informatics Technical Challenge Scientific Software Engineer

Efficient sampling of high dimensional spaces with complex, non-linear constraints By Arash Nemati Hayati - 06/01/2018

To use this software:

  1. Go to the Build directory.
  2. Run the following command: python3 run.py <input_file> <output_file> <N_results>

Example: python3 run.py input.txt output.txt 100

A demo of the following testcase can be found inside the Testing directory:

  1. Go to the Testing directory
  2. Run the following command: python3 demo.py

Sample input file: 2 # Number of dimensions 0.0 0.0 # initial values

Simple 3-component mixture - constraint

1.0 - x[0] - x[1] >= 0.0

Installation

The following standard python libraries must be installed (if not already exist):

  1. pathlib
  2. numdifftools
  3. scipy
  4. numpy

To compile the code: Linux

  1. cd Build
  2. python3 run.py <input_file> <output_file> <N_results> Example: python3 run.py input.txt output.txt 100

Windows

  1. Go to the Build directory.
  2. Open run.py with Eclipse, Visual Studio or other compatible environment
  3. Go to Run, the Run configurations from the menu-bar (for Eclipse)
  4. Go to the Arguments tab and paste the following:
  5.  <input_file> <output_file> <N_results>
    

Example: python3 run.py input.txt output.txt 100 6. Click to Run the testcase

Bugs, issues, questions

All inquiries should be submitted on github https://github.com/arashnh11/Non-linear-Optimization or by email to [email protected] Comments are greatly appreciated.

non-linear-optimization's People

Contributors

arashnh11 avatar

Stargazers

 avatar

Watchers

 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.