Skip to main content

A simple optimization solverp problem

Project description

pymization

Simple solver for optimization problems.

CDS implemented

Installation

pip install pymization

Example

Code to use CDS given a matrix where rows are jobs and columns are machines.

import pymization as pym


solver = pym.Solver("CDS")
solver.load_data_from_matrix(matrix)
solver.run()

If you want to use some functions developed on CDS you can use as the follow

import pymization as pym

solver = pym.Solver("CDS")
solver.load_data_from_matrix(matrix)
solver.load_model()
solver.model.get_sets() # Retrieves order sets to Johnson's algorithm
solver.model.min_makespan(job_sequence) # Given a Johnson's ordered jobs calculate min_makespan and actualize objective_function

solver.model.final_sequence
solver.model.objective_function

Work in progress

Any inquirements:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pymization, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size pymization-0.1.2.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page