Skip to content

Commit

Permalink
chore: Add CONTRIBUTE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
staadecker committed Apr 18, 2024
1 parent e788da4 commit cdef46b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
15 changes: 15 additions & 0 deletions CONTRIBUTE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# How to contribute

Contributions are welcome! Simply submit a pull request on GitHub with your changes and they will be reviewed. Or [open an issue](https://github.com/Bravos-Power/pyoframe/issues/new) to start a discussion before working on changes.

## How to setup a development environment

1. Install the dependencies: `pip install --editable .[dev,docs]`

2. Run `pytest` to make sure everything is working. If not, [open an issue](https://github.com/Bravos-Power/pyoframe/issues/new)!

### Some helpful commands

- `pytest`: Runs all the tests.
- `mkdocs serve`: Generates the documentation locally. Navigate to [`http://127.0.0.1:8000/pyoframe/`](http://127.0.0.1:8000/pyoframe/) to check it out.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

A library to rapidly formulate large and sparse optimization models using Pandas or Polars dataframes.

## Contribute

Contributions are welcome! See [`CONTRIBUTE.md`](./CONTRIBUTE.md).

## Acknowledgments

Martin Staadecker first created this library while working for [Bravos Power](https://www.bravospower.com/) The library takes inspiration from Linopy and Pyomo, two prior libraries for optimization for which we are thankful.

0 comments on commit cdef46b

Please sign in to comment.