Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Derivatives Interface #46

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
4031dd0
WIP proposal for solve_and_derivative interface
bamos Nov 2, 2019
6ad2632
Replace f-string
bamos Nov 2, 2019
8d42663
Added object-oriented derivatives interface
bstellato Nov 8, 2019
563b325
Install numdifftools
bstellato Nov 8, 2019
a88e203
Added lsqr mode. All tests passing except dA
bstellato Nov 8, 2019
f24323c
ci fix
bstellato Nov 8, 2019
1ecfbb1
Using approx_fprime from scipy. Fixed tests for dA. Fixed derivative …
bstellato Nov 9, 2019
47a22d4
Simplified dA_vals
bstellato Nov 9, 2019
a3e094b
Removed py27 installation utils for windows
bstellato Nov 9, 2019
115e28c
Added python 3.8
bstellato Nov 12, 2019
0a28ed9
Revert "Added python 3.8"
bstellato Nov 12, 2019
7004b69
Add lu diff_mode
bamos Nov 28, 2019
3058426
Woring ldl with scikit-sparse
bstellato Jan 2, 2020
6f3e6f5
Added qdldl-based derivatives
bstellato Mar 25, 2020
4e679cb
remove sksparse
bstellato Mar 27, 2020
8246e14
Added github workflows
bstellato Jun 10, 2020
173c16b
Fix path tests
bstellato Jun 10, 2020
9418b16
Show tests output
bstellato Jun 10, 2020
f49b621
No need to install pip qdldl anymore
bstellato Jul 28, 2020
efc24a1
minor setup.py fixes
bstellato Jul 28, 2020
129a2c1
Added symmetrization + iterative refinement
bstellato Aug 7, 2020
46dff11
ci
bstellato Aug 7, 2020
a7e1551
Updated osqp_sources
bstellato Aug 7, 2020
295df9f
Added derivatives to workflow
bstellato Aug 7, 2020
f16bf3a
Disable codegen and mkl tests for now
bstellato Aug 7, 2020
1f8096e
ci
bstellato Aug 7, 2020
235bcd0
Increase approx_fprime precision
bstellato Aug 7, 2020
55d13ec
Update cibuildwheel version
bstellato Aug 7, 2020
b106f9c
Fixed tests to use cvxpy+ecos
bstellato Aug 7, 2020
3cec827
Minor fix derivatives test
bstellato Aug 7, 2020
c0de084
Minor tweaks colerances ci
bstellato Aug 7, 2020
28393be
ci
bstellato Aug 7, 2020
b812fdd
Remove Travis/Appveyor to keep only GH actions
bstellato Aug 7, 2020
46d04af
Round lower and upper bounds to reasonable values
bstellato Aug 7, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Build

on: [push, pull_request]

jobs:
build_wheels:
name: Build wheel on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@master
with:
submodules: 'recursive'

- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.0.0
if: startsWith(matrix.os,'windows')

- name: Add Windows SDK
shell: cmd
if: startsWith(matrix.os,'windows')
run: |
choco install windows-sdk-8.1
- uses: actions/setup-python@v1
name: Install Python
with:
python-version: '3.7'

- name: Build wheels
env:
CIBW_BUILD: "cp3?-*"
CIBW_SKIP: "*-win32 *-manylinux_i686"
CIBW_MANYLINUX_X86_64_IMAGE: "dockcross/manylinux2010-x64"
CIBW_TEST_REQUIRES: "pytest cvxpy"
CIBW_TEST_COMMAND: "pytest -s {project}/module/tests -k \"not codegen and not mkl\" "
run: |
python -m pip install cibuildwheel==1.5.5
python -m cibuildwheel --output-dir wheelhouse
- name: Build source
if: startsWith(matrix.os, 'ubuntu')
run: |
python setup.py sdist --dist-dir=wheelhouse
- name: Release to pypi
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.pypi_password }}
run: |
python -m pip install --upgrade twine
twine upload wheelhouse/*
- name: Upload artifacts to github
uses: actions/upload-artifact@v1
with:
name: wheels
path: ./wheelhouse
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,5 @@ ENV/

.gdb_history
.cquery_cached_index/
pip-wheel-metadata/
scratch/
87 changes: 0 additions & 87 deletions .travis.yml

This file was deleted.

54 changes: 0 additions & 54 deletions appveyor.yml

This file was deleted.

5 changes: 0 additions & 5 deletions conda-recipe/conda_build_config.yaml

This file was deleted.

52 changes: 0 additions & 52 deletions conda-recipe/meta.yaml

This file was deleted.

Loading