Giter Club home page Giter Club logo

ripqpbenchmarks.jl's Introduction

RipQPBenchmarks

A repository launching benchmarks with RipQP and saving performance profiles and tables to measure performance. The benchmarks use the Netlib problems (LPs), the Maros and Meszaros problems (QPS), and the problems from the article (in quadruple precision):

Install deps

To launch all benchmarks, you will need:

Then, use

pkg> add https://github.com/geoffroyleconte/RipQPBenchmarks.jl.git

Running all benchmarks

All the benchmarks, profiles and tables can be generated with the function

using RipQPBenchmarks
save_path = "./" # your path to save stats
ripqp_all_benchmarks(
  save_path;
  run_cplex = false,
  run_gurobi = false,
  run_xpress = false,
  run_ma57 = false,
  run_ma97 = false,
  plot_extension = ".pdf",
)

save_path is the directory where the benchmarks (.CSV files), the profiles, and the tables (saved as .md and .tex) will be saved. The plot_extension keyword argument used to generate the performance profile has only been tested with ".pdf". Set the keyword arguments run_cplex, run_gurobi, etc... according to the installed deps.

This function might take a long time to execute (more than 2 days on a slow computer for me).

Computing the profiles only

To run the benchmarks on Netlib and Maros and Meszaros problems, use

save_path = "./" # your path to save stats
run_benchmarks_solvers(
  save_path;
  run_cplex = false,
  run_gurobi = false,
  run_xpress = false,
  run_ma57 = false,
  run_ma97 = false,
)

To save the performance profiles computed on the Netlib and Maros and Meszaros datasets, use

save_all_profiles(
  data_path,
  profile_path;
  plot_extension = ".pdf",
  run_cplex = false,
  run_gurobi = false,
  run_xpress = false,
  run_ma57 = false,
  run_ma97 = false,
)

where data_path is the path containing the results of the benchmarks (save_path of the previous section) and profile_path is the path where the profiles should be saved (can be the same as data_path).

Computing the tables in quadruple precision only

To run the benchmarks on the problems in quadruple precision, use

run_benchmarks_quad(save_path)

To generate the table in quadruple precision, use

quad_prec_table(data_path, table_path)

where data_path is the path containing the results of the benchmarks (save_path of the benchmark section) and table_path is the path where the tables should be saved.

To generate the table of the smallest residuals that RipQP can reach for the problems in quadruple precision, use

smallest_quad_resid_table(table_path)

ripqpbenchmarks.jl's People

Contributors

geoffroyleconte avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.