-
the code 'cvx.Variable(N - 1, 1)' report an error in SparseCoefRecovery.py :
`TypeError: Variable name 1 must be a string.
`
I modified it like this 'cvx.Variable(N - 1)’
-
I have the example code below, which just constructs an unconstrained quadratic program that is DPP. I time both the CVXPY problem and the CVXPYlayer initializations, while manually changing the probl…
-
# Handle
hickuphh3
# Vulnerability details
### Impact
- L211: `// We receive bCVX -> Convert to bCVX` → `We receive bCVX -> Convert to CVX`
- L443: `/// @notice toLock = 100, lock everything (CVX…
-
# Lines of code
https://github.com/asymmetryfinance/afeth/blob/74f340568480aa03d043e970fcf2578bea037cf6/contracts/strategies/votium/VotiumStrategyCore.sol#L301
# Vulnerability details
## Summary
…
-
Hi.
CVX supports power-related functions:
* pow_abs(x,p) = |x|^p
* pow_pos(x,p) = max{x,0}^p
* pow_p(x,p)
http://cvxr.com/cvx/doc/funcref.html
These functions are often used for financial pr…
-
In the following code, all the methods show up for `cvx_rewarder` except `getReward`. This is an overloaded function. There are 2 of them with different signatures. I did the following to get around t…
-
With user provided returns forecast, with a single forecasted return per timestamp- how does the model use the forecast?
Is it looking at the next `planning_horizon` bars of forecast on that day (l…
-
**Github username:** @Jelev123
**Twitter username:** zhulien_zhelev
**Submission hash (on-chain):** 0xd63c5a485ed5c831f25871238cda57f760c5d11879a4cafea6140c0ee79c5708
**Severity:** medium
**Descript…
-
# Lines of code
https://github.com/code-423n4/2023-09-asymmetry/blob/main/contracts/strategies/votium/VotiumStrategyCore.sol#L173-L181
# Vulnerability details
## Bug Description
The `ethPerCvx()`…
-
In matlab, cvx enables one to set a matrix with an offset of k from the diagonal, ie by `diag(v, k)`.
If I write, for example, the following code :
```
import cvxpy as cvx
v = cvx.Variable(1…