Skip to content

kul-optec/QPALM.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QPALM.jl

This repository provides a Julia interface to the QPALM QP solver.

Installation

In the Julia console, press ] to enter the Pkg REPL and install QPALM using:

add QPALM

To test the correct installation of the Julia interface, you can run the unit tests:

include("test/runtests.jl")

Usage

Given the QP

minimize        ½ xᵀQx + qᵀx

subject to      l ≤ Ax ≤ u

this is solved by

using QPALM
model = QPALM.Model()
QPALM.setup!(model, Q=Q, q=q, A=A, bmin=bmin, bmax=bmax, settings...)
results = QPALM.solve!(model)

where settings... are keyword arguments specifying the solver options to use. They have the same name and type as the underlying C API, so please refer to QPALM's documentation on how to set these and their semantics. Leaving the settings unspecified will run the solver with default options.

About

Julia interface to the QPALM QP solver

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages