This is a project by 5 students of Ecole Polytechnique, cooperating with RTE who has provided the subject. The object of this project is to explore the possibility of solving a large number big linear programming problems, which vary only in the part of RHS (Right-Hand Side) in the constraints, by means of machine learning.
Given a small linear programming problem(in format .lp or .mps), we use the class generator to add some gaussian noise to the coefficients thus to generate other similar problems.
Then by using the class dataset, we encapsulate the RHS and its corresponding solution in it, forming the input and the label for the neural network.
We have also written a class nn in NeuralNetwork.py that encapsulates the neural network and all the methods related to it.
Finally, we pass all the data into a class to_analyse where we implement the codes for evaluation the performance and plot figures.
A folder where we store the data of the problem we generated from small problem.
A folder which contains several example written by the group member to execute the code. It suffices to extract the file in the same directory as the folder package_name.
A folder which contains mainly the old version of the code.
A folder where we find the files of jupyter notebook written mainly in the purpose of building the first neural network and using the package cplex to solve the linear programming problems.
Our basic as well as important folder, where we have written the different class and skeleton for our project.
A folder where you can find some figure for this README and our report.
Feel free to dive in! Open an issue or make a pull request.
This project exists thanks to all the people who contribute. Thank you.
