Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/0nom4d/307multigrains

Mathematical EPITECH Project - This project computes a optimization of fertilizer to grow the most grains using Gauss Pivoting Method.
https://github.com/0nom4d/307multigrains

coverage epitech-project pivot-tables pytest python3

Last synced: 19 days ago
JSON representation

Mathematical EPITECH Project - This project computes a optimization of fertilizer to grow the most grains using Gauss Pivoting Method.

Awesome Lists containing this project

README

        

# 307multigrains

307multigrains is a B-MAT-500 EPITECH module project.

307multigrains is about optimizing revenues though grains' price.

## Before continuing...

This project is an EPITECH Project. If you are an EPITECH student, move out the way!

Nothing to see here... The groups don't want to be involved to your -42.

![Alt Text](https://media.tenor.com/images/5a5f5957db8b98be17ef208737663b9b/tenor.gif)

If you're not, no worries! You're welcome here!

### Prerequisites

To use this project, you'll need Python (Version 3.8) and Pytest for Unit Tests:

* [Python Installation](https://www.python.org/downloads/)
* [Pytest Installation](https://docs.pytest.org/en/6.2.x/getting-started.html#install-pytest)

### Building program

307multigrains is a B-MAT-500 EPITECH module project.

307multigrains is about optimizing revenues though grains' price.

You can use this program as it follows:

```textmate
$> ./307multigrains -h
USAGE
./307multigrains n1 n2 n3 n4 po pw pc pb ps

DESCRIPTION
n1 number of tons of fertilizer F1
n2 number of tons of fertilizer F2
n3 number of tons of fertilizer F3
n4 number of tons of fertilizer F4
po price of one unit of oat
pw price of one unit of wheat
pc price of one unit of corn
pb price of one unit of barley
ps price of one unit of soy
```

You can also launch unit tests by using the command below at root of the repository:

```textmate
$> coverage run --rcfile=.coveragerc -m --source=sources/ pytest --capture=sys -rA tests/
============================= test session starts ==============================
platform linux -- Python 3.8.10, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /home/nom4d/EPITECH/307multigrains
collected ... items

...

==================================== PASSES ====================================
_____________________ ... ______________________
----------------------------- Captured stdout call -----------------------------
...
=========================== short test summary info ============================
...
============================== ... passed in ...s ===============================
$> coverage report -m
// In order to show coverage report
```

### Coding Style

307multigrains is developed with Python. EPITECH doesn't impose any Coding Style to this but I tried to be as cleaner as possible.

## Authors

* **Arthur Adam** - [0Nom4D](https://github.com/0Nom4D)

This README file has been created with mdCreator. [Please check the project by clicking this link.](https://github.com/0Nom4D/mdCreator/)