Learn R Programming

volesti (version 1.1.1)

writeSdpaFormatFile: Write a SDPA format file

Description

Outputs a spectrahedron (the matrices defining a linear matrix inequality) and a vector (the objective function) to a SDPA format file.

Usage

writeSdpaFormatFile(
  spectrahedron = NULL,
  objectiveFunction = NULL,
  outputFile = NULL
)

Arguments

spectrahedron

A spectrahedron in n dimensions; must be an object of class Spectrahedron

objectiveFunction

A numerical vector of length n

outputFile

Name of the output file