Error in Installing CVX on MacOS

Uncategorized
Nov 17, 2024
B

Hello, I hope everyone had great time.

Today I tried to install CVX toolbox on my Mac (MacOS 15.1) with Matlab (2024a), but I failed. I download the toolboxes from https://cvxr.com/cvx/download/. Even if I have tried two of the compress files…

Could you please do me a favor? Many thanks for your help.

Here is the error code:


CVX: Software for Disciplined Convex Programming (c)2014 CVX Research
Version 2.2, Build 1148 (62bfcca) Tue Jan 28 00:51:35 2020

Installation info:
Path: /Users/brian/Documents/MyCode/cvx
MATLAB version: 24.1 (R2024a)
OS: Mac OS X aarch64 version 15.1
Java version: 11.0.24
Verfying CVX directory contents:
WARNING: The following files/directories are missing:
/Users/brian/Documents/MyCode/cvx/sedumi/.travis.yml
These omissions may prevent CVX from operating properly.
ERROR: one or more MEX files for this platform are missing.
These files end in the suffix “.mexmaca64”. CVX will not operate
without these files. Please visit
http://cvxr.com/cvx/download
And download a distribution targeted for your platform.
Preferences: none found; defaults loaded.
UNEXPECTED ERROR: ------------------------------
Unrecognized function or variable ‘command_str’.
Error in cvx_license
Error in cvx_license
Error in cvx_version (line 309)
cvx_license( args{:} );
Error in cvx_setup (line 20)
cvx_version( ‘-install’, varargin{:} );
------------------------------------------------
Please report this error to support, and include entire output of
CVX_SETUP in your support request.

M

The CVX version from 2020 does not support Apple Sillicon (MACA), only Intel (MACI). You should use the latest open sourced version, see the very first paragraph of Downloading CVX | CVX Research, Inc.

B
Replying to #2

Okay. Thank you very much for your help.

Could you please tell me if the CVX open source version support Apple Sillicon? Thank you.

M
Replying to #3

yes it does support MACA64

B
Replying to #4

Thank you very much for your kind help.