Package: highs 1.12.0-3

highs: 'HiGHS' Optimization Solver

R interface to 'HiGHS', an optimization solver for solving mixed integer optimization problems with quadratic or linear objective and linear constraints.

Authors:Florian Schwendinger [aut, cre], Dirk Schumacher [aut], Julian Hall [cph], Ivet Galabova [cph], Leona Gottwald [cph], Michael Feldmeier [cph]

highs_1.12.0-3.tar.gz
highs_1.12.0-3.zip(r-4.7)highs_1.12.0-3.zip(r-4.6)highs_1.12.0-3.zip(r-4.5)
highs_1.12.0-3.tgz(r-4.6-x86_64)highs_1.12.0-3.tgz(r-4.6-arm64)highs_1.12.0-3.tgz(r-4.5-x86_64)highs_1.12.0-3.tgz(r-4.5-arm64)
highs_1.12.0-3.tar.gz(r-4.7-arm64)highs_1.12.0-3.tar.gz(r-4.7-x86_64)highs_1.12.0-3.tar.gz(r-4.6-arm64)highs_1.12.0-3.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
highs/json (API)

# Install 'highs' in R:
install.packages('highs', repos = c('https://florianschwendinger.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://gitlab.com/roigrp/solver

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

6.72 score 2 stars 59 packages 69 scripts 14k downloads 64 exports 3 dependencies

Last updated from:1836a57e21. Checks:7 OK, 2 WARNING, 3 ERROR, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK421
linux-devel-x86_64OK422
source / vignettesOK483
linux-release-arm64OK433
linux-release-x86_64OK415
macos-release-arm64WARNING388
macos-release-x86_64WARNING632
macos-oldrel-arm64OK292
macos-oldrel-x86_64OK739
windows-develERROR814
windows-releaseERROR852
windows-oldrelERROR852
wasm-releaseFAIL453

Exports:example_modelexample_solverhi_model_get_nconshi_model_get_nvarshi_model_set_constraint_matrixhi_model_set_hessianhi_model_set_lhshi_model_set_lowerhi_model_set_ncolhi_model_set_nrowhi_model_set_objectivehi_model_set_offsethi_model_set_rhshi_model_set_sensehi_model_set_upperhi_model_set_vartypehi_new_modelhi_new_solverhi_reset_global_schedulerhi_solver_add_colshi_solver_add_rowshi_solver_add_varshi_solver_change_constraint_boundshi_solver_change_variable_boundshi_solver_clearhi_solver_clear_modelhi_solver_clear_solverhi_solver_get_bool_optionhi_solver_get_constraint_boundshi_solver_get_constraint_matrixhi_solver_get_dbl_optionhi_solver_get_int_optionhi_solver_get_lp_costshi_solver_get_num_colhi_solver_get_num_rowhi_solver_get_optionhi_solver_get_optionshi_solver_get_sensehi_solver_get_solutionhi_solver_get_str_optionhi_solver_get_variable_boundshi_solver_get_vartypehi_solver_infinityhi_solver_infohi_solver_runhi_solver_set_coeffhi_solver_set_constraint_boundshi_solver_set_integralityhi_solver_set_objectivehi_solver_set_offsethi_solver_set_optionhi_solver_set_optionshi_solver_set_sensehi_solver_set_variable_boundshi_solver_statushi_solver_status_messagehi_solver_write_basishi_solver_write_modelhighs_available_solver_optionshighs_controlhighs_modelhighs_solvehighs_solverhighs_write_model

Dependencies:backportscheckmateRcpp

Readme and manuals

Help Manual

Help pageTopics
Generate Example Optimization Modelsexample_model
Create a HiGHS Solver Objectexample_solver
Get Number of Constraints in a Modelhi_model_get_ncons
Get Number of Variables in a Highs Modelhi_model_get_nvars
Set Constraint Matrix for Highs Modelhi_model_set_constraint_matrix
Set Hessian Matrix for Highs Modelhi_model_set_hessian
Set Left Hand Side for a Highs Modelhi_model_set_lhs
Set Lower Bounds for Highs Modelhi_model_set_lower
Sets the number of columns in the modelhi_model_set_ncol
Set the number of rows in the modelhi_model_set_nrow
Set Objective for Highs Modelhi_model_set_objective
Set Offset for Highs Modelhi_model_set_offset
Set Right Hand Side for a Highs Modelhi_model_set_rhs
Set the sense of the optimization modelhi_model_set_sense
Set Upper Bounds for a Highs Modelhi_model_set_upper
Set Variable Types in a Highs Modelhi_model_set_vartype
Create new Highs Modelhi_new_model
Create a new solver instance.hi_new_solver
Reset Global Schedulerhi_reset_global_scheduler
Add Variables to Modelhi_solver_add_cols
Add Constraints to Modelhi_solver_add_rows
Add Variables to the Solverhi_solver_add_vars
Change Constraint Boundshi_solver_change_constraint_bounds
Change Variable Boundshi_solver_change_variable_bounds
Clear All Solver Datahi_solver_clear
Clear Model Datahi_solver_clear_model
Clear Solver Statehi_solver_clear_solver
Get Boolean Option Valuehi_solver_get_bool_option
Get Constraint Boundshi_solver_get_constraint_bounds
Get Constraint Matrixhi_solver_get_constraint_matrix
Get Double Option Valuehi_solver_get_dbl_option
Get Integer Option Valuehi_solver_get_int_option
Get Objective Coefficientshi_solver_get_lp_costs
Get Number of Variableshi_solver_get_num_col
Get Number of Constraintshi_solver_get_num_row
Get a HiGHS Solver Optionhi_solver_get_option
Get multiple HiGHS Solver Optionshi_solver_get_options
Get the optimization sense of the solver instance.hi_solver_get_sense
Get Solutionhi_solver_get_solution
Get String Option Valuehi_solver_get_str_option
Get Variable Boundshi_solver_get_variable_bounds
Get Variable Typeshi_solver_get_vartype
Get Solver Infinity Valuehi_solver_infinity
Get Solver Informationhi_solver_info
Run the Solverhi_solver_run
Set a coefficient in the constraint matrix.hi_solver_set_coeff
Set constraint bounds for a given constraint.hi_solver_set_constraint_bounds
Set integrality for a set of variables in the solver.hi_solver_set_integrality
Set the objective coefficient for a set of variables.hi_solver_set_objective
Set the objective offset for the solver.hi_solver_set_offset
Set a HiGHS Solver Optionhi_solver_set_option
Set Multiple HiGHS Solver Optionshi_solver_set_options
Set the optimization sense of the solver instance.hi_solver_set_sense
Set variable bounds for a set of variables.hi_solver_set_variable_bounds
Get Solver Statushi_solver_status
Get Solver Status Messagehi_solver_status_message
Write Basis to Filehi_solver_write_basis
Write Model to Filehi_solver_write_model
Available Solver Optionshighs_available_solver_options
Highs Controlhighs_control
Create a Highs Modelhighs_model
Solve an Optimization Problemshighs_solve
Highs Solverhighs_solver
Write a Highs Model to a Filehighs_write_model