https://github.com/chrhansk/scarp
Switching Cost Aware Rounding of Mixed-Integer Optimal Control Problems
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.0%) to scientific vocabulary
Keywords
Repository
Switching Cost Aware Rounding of Mixed-Integer Optimal Control Problems
Basic Info
- Host: GitHub
- Owner: chrhansk
- License: gpl-2.0
- Language: C++
- Default Branch: master
- Size: 400 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
SCARP
SCARP stands for Switching Cost Aware Rounding. The methods rounds fractional solutions of Mixed-Integer Optimal Control Problems (MIOCPs) to binary ones based on a shortest path through an appropriately defined graph. This implementation supplements the article
Dependencies
You will need to satisfy the following dependencies in order to compile SCARP
Build
The following commands build and test SCARP when executed in the root folder of the project:
mkdir buildcd buildcmake ..makemake test
Instances
The dataset/ folder contains some test instances, consisting of
matrices of fractional controls, which can be rounded using SCARP (or
SUR). The matrices are saved as rows of space-separated values. Each
row corresponds to one interval of a shooting grid. Consequently, the
values of each row sum up to 1 (being based on a one-hot encoding).
The (optional) output of the rounding algorithms follow the same
convention while being 0/1.
Solvers
There are currently two solvers available, scarp_solver and sur_solver.
The options of the solvers can be obtained using: --help
```
scarp_solver --help
Usage: ./src/main/scarpsolver [options]
For example, to solve an instance using SCARP with vanishing constraints, simply use
```
scarpsolver --vanishingconstraints /path/to/instance.dat ```
Owner
- Name: Christoph Hansknecht
- Login: chrhansk
- Kind: user
- Repositories: 34
- Profile: https://github.com/chrhansk
GitHub Events
Total
- Delete event: 1
- Push event: 13
- Pull request event: 5
- Create event: 3
Last Year
- Delete event: 1
- Push event: 13
- Pull request event: 5
- Create event: 3
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 0
- Total pull requests: 3
- Average time to close issues: N/A
- Average time to close pull requests: about 1 hour
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 3
- Average time to close issues: N/A
- Average time to close pull requests: about 1 hour
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- chrhansk (3)