This repository models an energy arbitrage problem using Julia JuMP. It leverages state-of-the-art first order solvers to efficiently solve large optimization problems.
This project uses a first order solver to solve the problem. In order to install SCS, use Pkg.add("SCS")
. However, if you wish to use SCS on a GPU, use the CUDA version of it. Unfortunately, at the moment only CUDA is supported.
To install and set up this project, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/your-repository.git
- Install Julia: Download Julia
- Install the required packages by running the following command in the Julia REPL:
using Pkg Pkg.activate(".") Pkg.instantiate()
- Install CUDA: Download CUDA
- Run the project using the following command:
julia --project=. main.jl
To use this project, follow these steps:
- Open a terminal and navigate to the project directory.
- Run the project using the following command:
julia --project=. main.jl
- Follow the on-screen instructions to input the required parameters and solve the energy arbitrage problem.
Contributions to this project are welcome. To contribute, please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your forked repository.
- Submit a pull request to the main repository.
This project is licensed under the MIT License. See the LICENSE file for more information.