Skip to content

Commit

Permalink
Update new-problem issue template
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-caron committed Dec 11, 2023
1 parent 12f7e50 commit 19a47ea
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/ISSUE_TEMPLATE/new_problem.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ assignees: ''

### Problem

I propose to add the following problem to the *GitHub free-for-all* test set.
The problem can be built and tested as follows:
I propose to add the following problem to the *GitHub free-for-all* test set. The problem can be built and tested as follows:

```python
import numpy as np
Expand Down Expand Up @@ -48,16 +47,26 @@ if __name__ == "__main__":

This problem is interesting because...

### Solution and optimal cost
### Solution

<!--
If you know a formula for the solution of the problem, or the optimal cost,
write them down here. This is not a requirement but it can help us debug
solver outputs later on.
If you know a formula for the solution of the problem, you can write it
down here. This is not a requirement but it can help us debug solver
outputs later on.
-->

- Solution: $x^\* = ...$
- Optimal cost: $\frac12 x^{\*T} P x^\* + q^T x^\* = ...$
The solution to this problem is:

```math
\begin{align*}
x^\* & = ... \\
y^\* & = ... \\
z^\* & = ... \\
z_{\mathit{box}}^\* & = ... \\
\end{align*}
```

where $x^\*$ is the primal vector, $y^\*$ the dual vector for equality constraints, $z^\*$ the dual vector for inequality constraints, and $z_{\mathit{box}}^\*$ the dual vector for box constraints.

### References

Expand Down

0 comments on commit 19a47ea

Please sign in to comment.