csdp-graphtoprob command not found

In this troubleshooting guide we learn how to fix csdp-graphtoprob command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

csdp-graphtoprob: command not found

or when using sudo you get the following error message

sudo: csdp-graphtoprob: command not found

Solutions to csdp-graphtoprob: command not found

How To Fix csdp-graphtoprob: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu csdp-graphtoprob is provided by coinor-csdp package.

coinor-csdp is:

CSDP is a library of routines that implements a predictor corrector variant of the semidefinite programming algorithm of Helmberg, Rendl, Vanderbei, and Wolkowicz. The code runs in parallel on shared memory multi-processor systems, and it makes effective use of sparsity in the constraint matrices.

CSDP is part of the larger COIN-OR initiative (Computational Infrastructure for Operations Research).

This package contains the binaries.

To fix this problem, we can install more using the command below.

sudo apt-get -y install coinor-csdp

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install coinor-csdp.

sudo apt -y install coinor-csdp

Or if you have aptitude installed you can use the following command.

sudo aptitude install coinor-csdp

Summary

In this tutorial we learn how to fix csdp-graphtoprob command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.