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

Interface with CUTEst error: /home/xxx/CUTEst/cutest/bin/runcutest: line 245: /home/xxx/CUTEst/sif/run_osqp: No such file or directory #566

Open
tianyma opened this issue Jul 21, 2023 · 1 comment

Comments

@tianyma
Copy link

tianyma commented Jul 21, 2023

Hi, I am using runcutest to solve the problems write in *.SIF with osqp, I follow the instruction on https://osqp.org/docs/get_started/cutest.html, but I got an error when I run the runcutest command.

My command is

runcutest -p osqp -D ZY2.SIF

but the output is

sifdecoder -A pc64.lnx.gfo -st   ZY2.SIF

 Problem name: ZY2

 Double precision version will be formed

 The objective function uses 1 nonlinear group
 
 There are 2 nonlinear inequality constraints
 
 There are 2 variables bounded only from below 
 There is 1 variable bounded from below and above 
 
 
 File successfully decoded
 CUTEST: tools (double precision version) compiled successfully
 CUTEst: osqp (double precision version) compiled successfully
/home/xxx/CUTEst/cutest/objects/pc64.lnx.gfo/double/osqp_main.o: In function `main':
osqp_main.c:(.text 0x145a): undefined reference to `csc_matrix'
osqp_main.c:(.text 0x1495): undefined reference to `csc_matrix'
osqp_main.c:(.text 0x14ce): undefined reference to `set_default_settings'
collect2: error: ld returned 1 exit status
/home/xxx/CUTEst/cutest/bin/runcutest: line 245: /home/xxx/CUTEst/sif/run_osqp: No such file or directory
@imciner2
Copy link
Member

imciner2 commented Jul 24, 2023

The CUTEst interface to OSQP is maintained separately from OSQP itself, so it is not compatible with the master branch of OSQP yet (the current 1.0 beta release is on the master branch). To compile CUTEst with OSQP support, you should use the OSQP version on the release-0.6.3 branch here: https://github.com/osqp/osqp/tree/release-0.6.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants