Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
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
15 changes: 10 additions & 5 deletions .github/workflows/pull-request-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,15 @@ jobs:
fail-fast: false
matrix:
config:
- { name: "Windows MSVC", os: windows-latest, cc: "cl.exe", cxx: "cl.exe", chealpix: "OFF", icon: "Windows"}
- { name: "Ubuntu gcc", os: ubuntu-latest, cc: "gcc", cxx: "g++", chealpix: "OFF", icon: "Linux" }
- { name: "Ubuntu clang", os: ubuntu-latest, cc: "clang", cxx: "clang++", chealpix: "OFF", icon: "Linux" }
- { name: "MacOS clang", os: macos-latest, cc: "clang", cxx: "clang++", chealpix: "OFF", icon: "Apple" }
- { name: "Windows MSVC", os: windows-latest, cc: "cl.exe", cxx: "cl.exe", chealpix: "OFF", exp: "OFF", icon: "Windows"}
- { name: "Ubuntu gcc", os: ubuntu-latest, cc: "gcc", cxx: "g++", chealpix: "OFF", exp: "OFF", icon: "Linux" }
- { name: "Ubuntu clang", os: ubuntu-latest, cc: "clang", cxx: "clang++", chealpix: "OFF", exp: "OFF", icon: "Linux" }
- { name: "MacOS clang", os: macos-latest, cc: "clang", cxx: "clang++", chealpix: "OFF", exp: "OFF", icon: "Apple" }

- { name: "Windows MSVC (experimental)", os: windows-latest, cc: "cl.exe", cxx: "cl.exe", chealpix: "OFF", exp: "ON", icon: "Windows" }
- { name: "Ubuntu gcc (experimental)", os: ubuntu-latest, cc: "gcc", cxx: "g++", chealpix: "OFF", exp: "ON", icon: "Linux" }
- { name: "Ubuntu clang (experimental)", os: ubuntu-latest, cc: "clang", cxx: "clang++", chealpix: "OFF", exp: "ON", icon: "Linux" }
- { name: "MacOS clang (experimental)", os: macos-latest, cc: "clang", cxx: "clang++", chealpix: "OFF", exp: "ON", icon: "Apple" }

# Testing for Healpix. Deprecated, will be removed without notice. Unsupported OS are disabled.
# - { name: "Windows MSVC Chealpix", os: windows-latest, cc: "cl.exe", cxx: "cl.exe", chealpix: "ON", icon: "Windows"}
Expand All @@ -49,7 +54,7 @@ jobs:
- name: Configure OpenGR
run: |
cd build/opengr
cmake ../../src/opengr -GNinja -DCMAKE_CXX_COMPILER=${{ matrix.config.cxx }} -DCMAKE_C_COMPILER=${{ matrix.config.cc }} -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../../install/ -DOpenGR_COMPILE_TESTS=TRUE -DENABLE_TIMING=FALSE -DOpenGR_USE_CHEALPIX=${{ matrix.config.chealpix }} -DDL_DATASETS=FALSE
cmake ../../src/opengr -GNinja -DCMAKE_CXX_COMPILER=${{ matrix.config.cxx }} -DCMAKE_C_COMPILER=${{ matrix.config.cc }} -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../../install/ -DOpenGR_COMPILE_TESTS=TRUE -DENABLE_TIMING=FALSE -DOpenGR_USE_CHEALPIX=${{ matrix.config.chealpix }} -DOpenGR_USE_EXPERIMENTAL_FEATURES=${{ matrix.config.exp }} -DOpenGR_USE_SDPA=${{ matrix.config.exp }} -DDL_DATASETS=FALSE
- name: Build OpenGR
run: |
cd build/opengr
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
assets/demo*
.vscode/*
*.orig
3rdparty/SDPA
15 changes: 15 additions & 0 deletions 3rdparty/sdpa-7.3.8/AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
--------------------------------------------------
Copyright (C) 1995-2011 SDPA Project
--------------------------------------------------

We appreciate your comments, suggestions, and questions about SDP
and/or the SDPA software. We also consider questions such as "I can
not install the SDPA on my computer," "I can not formulate my problem
in SDPA format," "I found a bug in the software," etc.


To contact SDPA project, refer the following Web page.
https://sdpa.sourceforge.net/contact.html

The member list of SDPA project is available there.

340 changes: 340 additions & 0 deletions 3rdparty/sdpa-7.3.8/COPYING

Large diffs are not rendered by default.

177 changes: 177 additions & 0 deletions 3rdparty/sdpa-7.3.8/ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
SDPA 7.3.8 from SDPA 7.3.7 / 2012-04-07 Makoto Yamashita
* Fix inside 'index' to 'index2'
in changeIndex of mexReadSDPAToSedumi.cpp

SDPA 7.3.7 from SDPA 7.3.6 / 2012-03-12 Makoto Yamashita
* Fix some spell-miss
* Modify sdpa.1 to remove the warning hyphen-used-as-minus-sign

SDPA 7.3.6 from SDPA 7.3.5 / 2012-02-01 Makoto Yamashita
* Print error messages for reading errors
* Fix bugs for some SDPs
* Fix some spell-miss
* Delete DIMACS_PRINT macro (already replaced by --dimacs option)

SDPA 7.3.5 from SDPA 7.3.4 / 2011-05-06 Makoto Yamashita
* Change official homepage to sourceforge
* Add option --version
* Fix bugs for some SDPs
* Remove MUMPS tar.gz file

SDPA 7.3.4 from SDPA 7.3.3 / 2010-12-06 Makoto Yamashita
* Change the configure script for mingw envrionment

SDPA 7.3.3 from SDPA 7.3.2 / 2010-11-23 Makoto Yamashita
* Change the configure script for MUMPS
* Change INSTALL
* Fix bugs for some architectures
* Change source files for mingw-compatibility
* Add some matlab source codes in mex directory

SDPA 7.3.2 from SDPA 7.3.1 / 2010-11-12 Makoto Yamashita
* Release Debian package

SDPA 7.3.1 from SDPA 7.3.0 / 2009-07-29 Makoto Yamashita
* Introduce multiple threading
* Change data structures for input data matrices
* Add sedumiwrap.m (SeDuMi wrapper for SDPA-M)
[For details, try 'help sedumiwrap' in Matlab after installation]
* Remove small bugs

****************************************************************
Before git management change log
****************************************************************
2008-05-21 Kazuhide Nakata

* Add correction routin for Sparse Cholesky decomposition
* Add "#include <algorithm>" in sdpa_io.cpp
* Modify IO::displayDenseLinarSpaceLast
* Move "#define P_FORMAT "%+8.3e" from sdpa_struct.cpp to sdpa_struct.h

2008-03-12 Kazuhide Nakata

* Modify algorithm of preconditioning for moderate sparse SDP
making graph, fill-in, etc. in sdpa_chrdal.cpp
initialization of newton class in sdpa_newton.cpp

2008-02-29 Kazuhide Nakata

* Initialize block index of SparseLinearSpace without huge array
SDP_CNonZeroCount, SDP_ANonZeroCount,
SOCP_CNonZeroCount, SOCP_ANonZeroCount,
LP_CNonZeroCount, LP_ANonZeroCount.

2008-02-15 Maho Nakata <[email protected]>

* SDPA 705 RC8.
* Change the order of LAPACK and BLAS libs at configure.
It will become a problem when an incomplete
liblapack.a exists at the BLAS directory (usually
caused by the normal ATLAS installation).

2008-02-13 Maho Nakata <[email protected]>

* SDPA 705 RC7.
* Change archive name and directory to the standard ones.
* Add dummy variable in sdpa_io.cpp to workaround gcc-3.3
optimization bug.
* Parameters are now accord with the manual.
PARAMETER_AGGRESSIVE -> PARAMETER_UNSTABLE_BUT_FAST
PARAMETER_STABLE -> PARAMETER_STABLE_BUT_SLOW

2008-02-09 Maho Nakata <[email protected]>

* SDPA 705 RC6
* Cleanups.

2008-02-08 Maho Nakata <[email protected]>

* SDPA 705 RC4
* the last fix was not included; submmitted by
K. Nakata.

2008-02-08 Maho Nakata <[email protected]>

* SDPA 705 RC3
sdpa_main.cpp:static double KAPPA = 2.2;
-> static double KAPPA = 7.0;

2008-02-07 Kazuhide Nakata

* Support DIMACS errors
* SDPA 705 RC2

2008-02-07 Maho Nakata <[email protected]>

* SDPA 705 RC1.

2008-01-22 Maho Nakata <[email protected]>

* Pass -O2 -funroll-all-loops to compilers.

2007-12-10 Maho Nakata <[email protected]>

* Include spooles archive.
* Three useMetis to UseMetis (From Kazuhide Nakata).
* Disable Metis by default.
* Support MacOSX. Tested on MacOSX Tiger Intel & PPC.

2007-11-29 Kazuhide Nakata

* Support multiple LP block
* Remove METIS library
* Add check routin in SparseLinearSpace::setElement_SDP, DenseLinearSpace::setElement_SDP

2007-10-16 Kazuhide Nakata

* Support zero matrix and LP problem
* Modify SparseLinearSpace::copyFrom, SparseLinearSpace::initialize
* workVariables::initialize

2007-09-18 Kazuhide Nakata

* Modify stopping criteria and step length.
* Add SolveInfo::check (print various information of current point)

2007-06-29 Kazuhide Nakata <[email protected]>

* Modify algorithm in sdpa::UTSpMat::Form_Aggregate.
* Fix memory leaks via valgrind.
* Change type of variable "LP_NonZeroNumber" from int to bool.
* Modify variable names in sdpa::SparseLinearSpace::SparseLinearSpace.

2007-06-27 Maho Nakata <[email protected]>

* Remove GPL.txt. We have COPYING instead, and it is newer.

2007-06-04 Maho Nakata <[email protected]>

* Reorder LAPACK/BLAS at linker (submitted by Makoto Yamashita).

2007-06-01 Maho Nakata <[email protected]>

* Initial support for configure script.


/*------------------------------------------
Major Versions
SDPA 1 (1995)
C++ implementation of the primal-dual
interior-point method using the HKM search direction
SDPA 2 (1996)
Implementation of the Mehrotra type predictor- &
corrector method
SDPA 3 (1997)
Novel formula to compute the Schur complement matrix
SDPA 4 (1998)
Full implementation of the formula or all
block matrices, callable library
SDPA 5 (1996)
Fast step-size computation using the bisection method
to approximate minimum eigenvalues
SDPA 6 (2002,CodeName Rosemary)
Replacing meschach with BLAS/ATLAS and LAPACK
SDPA 7 (2008,CodeName Margaret)
Improvements on sparse sata structures.
Multi-Thread computing.
------------------------------------------*/
Loading