Code Monkey home page Code Monkey logo

pyallocation's Introduction

pyallocation

Validation

The OCL-based program for validating CAP modes is provided in CAP Models Validation.zip.

To validate a CAP model, e.g., system_n0.model, enter the following from within the CAP Models Validation directory:

java -jar ./ExecutableOne.jar system_n0.model

Transformation

Solver

The main Python scripts are:

  1. solve_cap_single_objective.py"

This one solves single-objective component allocation problems.

Usage: python .\solve_cap_single_objective.py ..\resources\system_n1.model ..\resources\solutionSet_1.model

  1. solve_cap_multi_objective.py

This one solves multi-objective component allocation problems.

Usage: python .\solve_cap_multi_objective.py ..\resources\system_n1.model ..\resources\solutionSet_1_mo.model

  1. visualize_solution_set.py

This one plots the solution set on a 3D scatter plot. In the plot, the high trade-off point(s) are shown in orange.

Usage: python .\visualize_solution_set.py ..\resources\system_n1.model ..\resources\solutionSet_1_mo.model

  1. visualize_a_single_solution.py

This one visualizes a single solution using a Petal Diagram.

Usage: python .\visualize_a_single_solution.py ..\resources\system_n1.model ..\resources\solutionSet_1_mo.model 10

  1. visualize_solution_set_Pseudo_Weights.py

This one visualizes the solution obtained using the pseudo-weight vector approach.

Usage: python .\visualize_solution_set_Pseudo_Weights.py ..\resources\system_n1.model ..\resources\solutionSet_1_mo.model

Postprocessing

Contact

Feel free to contact me if you have any question:

Issam Al-Azzoni (issam.alazzoni [at] aau.ac.ae)
Al Ain University
College of Engineering
Abu Dhabi - United Arab Emirates

Julian Blank (blankjul [at] egr.msu.edu)
Michigan State University
Computational Optimization and Innovation Laboratory (COIN)
East Lansing, MI 48824, USA

pyallocation's People

Contributors

blankjul avatar ialazzon avatar

Watchers

 avatar  avatar  avatar  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.