JuliaSmoothOptimizers / RipQP.jl

MIT License
29 stars 5 forks source link

RipQP

DOI CI Cirrus CI - Base Branch Build Status codecov

A package to optimize linear and quadratic problems in QuadraticModel format (see https://github.com/JuliaSmoothOptimizers/QuadraticModels.jl).

By default, RipQP iterates in the floating-point type of its input QuadraticModel, but it can also perform operations in several floating-point systems if some parameters are modified (see the documentation for more information).

Basic usage

In this example, we use QPSReader to read a quadratic problem (QAFIRO) from the Maros and Meszaros dataset.

using QPSReader, QuadraticModels
using RipQP
qps = readqps("QAFIRO.SIF")
qm = QuadraticModel(qps)
stats = ripqp(qm)

To use the multi precision mode (default to :mono) and change the maximum number of iterations:

stats = ripqp(qm, mode=:multi, itol = InputTol(max_iter=100))

Bug reports and discussions

If you think you found a bug, feel free to open an issue. Focused suggestions and requests can also be opened as issues. Before opening a pull request, start an issue or a discussion on the topic, please.

If you want to ask a question not suited for a bug report, feel free to start a discussion here. This forum is for general discussion about this repository and the JuliaSmoothOptimizers organization, so questions about any of our packages are welcome.