This is the code for DCRA algorithm.
Please cite this paper:
A Relaxation Method for Nonsmooth Nonlinear Optimization with Binary Constraints
Author: Lianghai Xiao, Yitian Qian, and Shaohua Pan
ArXiv link: https://arxiv.org/abs/2601.03008
Run startup.m first, and then run demo_*.m for demostrations.