R/RcppExports.R

Defines functions read_oqp_dimensions get_dual_solution get_primal_solution is_unbounded is_infeasible is_solved is_initialised get_number_of_inactive_constraints get_number_of_active_constraints get_number_of_equality_constraints get_number_of_constraints get_number_of_fixed_variables get_number_of_free_variables get_number_of_variables get_objval print_options hotstart_qproblemb hotstart_qproblem init_sqproblem init_qproblemb init_qproblem set_options sqproblem qproblem qproblemb

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

qproblemb <- function(number_of_varibales, hessian_type, alloc_dense_matrix) {
    .Call(`_ROI_plugin_qpoases_qproblemb`, number_of_varibales, hessian_type, alloc_dense_matrix)
}

qproblem <- function(number_of_varibales, number_of_constraints, hessian_type) {
    .Call(`_ROI_plugin_qpoases_qproblem`, number_of_varibales, number_of_constraints, hessian_type)
}

sqproblem <- function(number_of_varibales, number_of_constraints, hessian_type, alloc_dense_matrix) {
    .Call(`_ROI_plugin_qpoases_sqproblem`, number_of_varibales, number_of_constraints, hessian_type, alloc_dense_matrix)
}

set_options <- function(r_model, control) {
    .Call(`_ROI_plugin_qpoases_set_options`, r_model, control)
}

init_qproblem <- function(r_model, r_H, r_g, r_A, r_lb, r_ub, r_lbA, r_ubA, r_nWSRm, r_cputime) {
    .Call(`_ROI_plugin_qpoases_init_qproblem`, r_model, r_H, r_g, r_A, r_lb, r_ub, r_lbA, r_ubA, r_nWSRm, r_cputime)
}

init_qproblemb <- function(r_model, r_H, r_g, r_lb, r_ub, r_nWSRm, r_cputime) {
    .Call(`_ROI_plugin_qpoases_init_qproblemb`, r_model, r_H, r_g, r_lb, r_ub, r_nWSRm, r_cputime)
}

init_sqproblem <- function(r_model, r_H, r_g, r_A, r_lb, r_ub, r_lbA, r_ubA, r_nWSRm, r_cputime) {
    .Call(`_ROI_plugin_qpoases_init_sqproblem`, r_model, r_H, r_g, r_A, r_lb, r_ub, r_lbA, r_ubA, r_nWSRm, r_cputime)
}

hotstart_qproblem <- function(r_model, r_g, r_lb, r_ub, r_lbA, r_ubA, r_nWSR) {
    .Call(`_ROI_plugin_qpoases_hotstart_qproblem`, r_model, r_g, r_lb, r_ub, r_lbA, r_ubA, r_nWSR)
}

hotstart_qproblemb <- function(r_model, r_g, r_lb, r_ub, r_nWSR) {
    .Call(`_ROI_plugin_qpoases_hotstart_qproblemb`, r_model, r_g, r_lb, r_ub, r_nWSR)
}

print_options <- function(r_model) {
    .Call(`_ROI_plugin_qpoases_print_options`, r_model)
}

get_objval <- function(r_model) {
    .Call(`_ROI_plugin_qpoases_get_objval`, r_model)
}

get_number_of_variables <- function(r_model) {
    .Call(`_ROI_plugin_qpoases_get_number_of_variables`, r_model)
}

get_number_of_free_variables <- function(r_model) {
    .Call(`_ROI_plugin_qpoases_get_number_of_free_variables`, r_model)
}

get_number_of_fixed_variables <- function(r_model) {
    .Call(`_ROI_plugin_qpoases_get_number_of_fixed_variables`, r_model)
}

get_number_of_constraints <- function(r_model) {
    .Call(`_ROI_plugin_qpoases_get_number_of_constraints`, r_model)
}

get_number_of_equality_constraints <- function(r_model) {
    .Call(`_ROI_plugin_qpoases_get_number_of_equality_constraints`, r_model)
}

get_number_of_active_constraints <- function(r_model) {
    .Call(`_ROI_plugin_qpoases_get_number_of_active_constraints`, r_model)
}

get_number_of_inactive_constraints <- function(r_model) {
    .Call(`_ROI_plugin_qpoases_get_number_of_inactive_constraints`, r_model)
}

is_initialised <- function(r_model) {
    .Call(`_ROI_plugin_qpoases_is_initialised`, r_model)
}

is_solved <- function(r_model) {
    .Call(`_ROI_plugin_qpoases_is_solved`, r_model)
}

is_infeasible <- function(r_model) {
    .Call(`_ROI_plugin_qpoases_is_infeasible`, r_model)
}

is_unbounded <- function(r_model) {
    .Call(`_ROI_plugin_qpoases_is_unbounded`, r_model)
}

get_primal_solution <- function(r_model) {
    .Call(`_ROI_plugin_qpoases_get_primal_solution`, r_model)
}

get_dual_solution <- function(r_model) {
    .Call(`_ROI_plugin_qpoases_get_dual_solution`, r_model)
}

read_oqp_dimensions <- function(r_path) {
    .Call(`_ROI_plugin_qpoases_read_oqp_dimensions`, r_path)
}

Try the ROI.plugin.qpoases package in your browser

Any scripts or data that you put into this service are public.

ROI.plugin.qpoases documentation built on July 9, 2023, 7:32 p.m.