Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

OpenClassrooms student project on algorithm optimization.

Notifications You must be signed in to change notification settings

mjeammet/DAPY-P7_AlgoInvest-Trade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AlgoInvest-Trade

Description

A quick project regarding algorithms and complexity. Written in Python.

The problem is a 0-1 knapsack problem.

  • bruteforce.py explores all possible combinations of actions across the dataset. Complexity 0(2^n).

  • optimized.py offers the classic resolution by building a m(0...n, 0...W) profit matrix maximizing gain. Greedy approximation is also available, to compare results and discuss its pros and cons.

Installation

Clone in the directory of your choice : git clone https://github.com/mjeammet/OCP7_AlgoInvest-Trade.git

About

OpenClassrooms student project on algorithm optimization.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages