Package: coinclp 0.1.1

Sam Lovick
coinclp: R Interface to the 'COIN-OR' 'Clp' Linear Programming Solver
Solves linear programs with 'Clp', the simplex and interior point code of the 'COIN-OR' project <https://github.com/coin-or/Clp>. Provides a one-call solver interface for dense and sparse constraint matrices, and complete low level bindings to the 'Clp' callable library covering problem construction, warm starts, presolve options, basis access and 'MPS' files. A compatibility layer reproduces the interface of the archived 'clpAPI' package so that existing code keeps working. 'Clp' itself is not bundled and must be installed on the system; the 'Rtools' toolchain supplies it on 'Windows', from 'Rtools' 4.3 on.
Authors:
coinclp_0.1.1.tar.gz
coinclp_0.1.1.zip(r-4.7-x86_64)coinclp_0.1.1.zip(r-4.7-arm64)coinclp_0.1.1.zip(r-4.6-x86_64)coinclp_0.1.1.zip(r-4.6-arm64)coinclp_0.1.1.zip(r-4.5-x86_64)
coinclp_0.1.1.tgz(r-4.6-x86_64)coinclp_0.1.1.tgz(r-4.6-arm64)coinclp_0.1.1.tgz(r-4.5-x86_64)coinclp_0.1.1.tgz(r-4.5-arm64)
coinclp_0.1.1.tar.gz(r-4.7-arm64)coinclp_0.1.1.tar.gz(r-4.7-x86_64)coinclp_0.1.1.tar.gz(r-4.6-arm64)coinclp_0.1.1.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
coinclp/json (API)
| # Install 'coinclp' in R: |
| install.packages('coinclp', repos = c('https://samlovick.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/samlovick/coinclp/issues
Last updated from:9d338f4097. Checks:14 OK, 1 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 116 | ||
| linux-devel-x86_64 | OK | 132 | ||
| source / vignettes | OK | 174 | ||
| linux-release-arm64 | OK | 121 | ||
| linux-release-x86_64 | OK | 131 | ||
| macos-release-arm64 | OK | 143 | ||
| macos-release-x86_64 | OK | 248 | ||
| macos-oldrel-arm64 | OK | 183 | ||
| macos-oldrel-x86_64 | OK | 450 | ||
| windows-devel-arm64 | OK | 371 | ||
| windows-devel-x86_64 | OK | 137 | ||
| windows-release-arm64 | OK | 390 | ||
| windows-release-x86_64 | OK | 107 | ||
| windows-oldrel-x86_64 | OK | 107 | ||
| wasm-release | FAIL | 108 |
Exports:addColsCLPaddRowsCLPchgColLowerCLPchgColUpperCLPchgObjCoefsCLPchgRowLowerCLPchgRowUpperCLPclp_add_columnsclp_add_rowsclp_algorithmclp_check_solutionclp_col_lowerclp_col_nameclp_col_namesclp_col_solutionclp_col_statusclp_col_upperclp_controlclp_copyin_statusclp_crashclp_delete_columnsclp_delete_integerclp_delete_rowsclp_drop_namesclp_dual_boundclp_dual_feasibleclp_dual_objective_limitclp_dual_simplexclp_dual_toleranceclp_elementsclp_featuresclp_freeclp_hit_max_iterationsclp_idiotclp_indicesclp_infclp_infeasibility_costclp_infeasibility_rayclp_initial_barrier_no_cross_solveclp_initial_barrier_solveclp_initial_dual_solveclp_initial_primal_solveclp_initial_solveclp_initial_solve_with_optionsclp_integer_informationclp_is_abandonedclp_is_dual_objective_limit_reachedclp_is_iteration_limit_reachedclp_is_openclp_is_primal_objective_limit_reachedclp_is_proven_dual_infeasibleclp_is_proven_optimalclp_is_proven_primal_infeasibleclp_iterationsclp_length_namesclp_load_problemclp_load_quadratic_objectiveclp_log_levelclp_matrixclp_max_iterationsclp_max_secondsclp_modelclp_modify_coefficientclp_num_colsclp_num_dual_infeasibilitiesclp_num_elementsclp_num_primal_infeasibilitiesclp_num_rowsclp_obj_senseclp_objectiveclp_objective_offsetclp_objective_valueclp_optimization_directionclp_optionsclp_options_do_doubletonclp_options_do_dualclp_options_do_dupcolclp_options_do_duprowclp_options_do_forcingclp_options_do_implied_freeclp_options_do_singletonclp_options_do_singleton_columnclp_options_do_tightenclp_options_do_tripletonclp_options_freeclp_options_get_extra_infoclp_options_get_presolve_passesclp_options_get_presolve_typeclp_options_get_solve_typeclp_options_get_special_optionclp_options_infeasible_returnclp_options_presolve_actionsclp_options_set_do_doubletonclp_options_set_do_dualclp_options_set_do_dupcolclp_options_set_do_duprowclp_options_set_do_forcingclp_options_set_do_implied_freeclp_options_set_do_singletonclp_options_set_do_singleton_columnclp_options_set_do_tightenclp_options_set_do_tripletonclp_options_set_infeasible_returnclp_options_set_presolve_actionsclp_options_set_presolve_typeclp_options_set_solve_typeclp_options_set_special_optionclp_options_set_substitutionclp_options_substitutionclp_perturbationclp_primal_feasibleclp_primal_simplexclp_primal_toleranceclp_print_modelclp_problem_nameclp_read_mpsclp_reduced_costsclp_resizeclp_restore_modelclp_row_activityclp_row_lowerclp_row_nameclp_row_namesclp_row_priceclp_row_statusclp_row_upperclp_save_modelclp_scalingclp_secondary_statusclp_set_algorithmclp_set_col_lowerclp_set_col_nameclp_set_col_solutionclp_set_col_statusclp_set_col_upperclp_set_dual_boundclp_set_dual_objective_limitclp_set_dual_toleranceclp_set_infeasibility_costclp_set_integerclp_set_iterationsclp_set_log_levelclp_set_max_iterationsclp_set_max_secondsclp_set_namesclp_set_obj_senseclp_set_objectiveclp_set_objective_offsetclp_set_optimization_directionclp_set_perturbationclp_set_primal_toleranceclp_set_problem_nameclp_set_row_lowerclp_set_row_nameclp_set_row_statusclp_set_row_upperclp_set_scalingclp_set_secondary_statusclp_set_small_element_valueclp_set_statusclp_small_element_valueclp_solveclp_statusclp_status_arrayclp_status_existsclp_status_messageclp_sum_dual_infeasibilitiesclp_sum_primal_infeasibilitiesclp_unbounded_rayclp_vector_lengthsclp_vector_startsclp_versionclp_write_mpsclpPointerclpPtrTypeclpPtrType<-copyNamesCLPdelColsCLPdelProbCLPdelRowsCLPdropNamesCLPdualCLPgetColDualCLPgetColLowerCLPgetColPrimCLPgetColUpperCLPgetHitMaximumIterationsCLPgetIndCLPgetLogLevelCLPgetMaximumIterationsCLPgetMaximumSecondsCLPgetNnzCLPgetNumColsCLPgetNumNnzCLPgetNumRowsCLPgetObjCoefsCLPgetObjDirCLPgetObjValCLPgetRowDualCLPgetRowLowerCLPgetRowPrimCLPgetRowUpperCLPgetScaleFlagCLPgetSolStatusCLPgetVecLenCLPgetVecStartCLPidiotCLPinitProbCLPisAvailableFuncCLPisCLPpointerisNULLpointerCLPlengthNamesCLPloadMatrixCLPloadProblemCLPmodifyCoefficientCLPprimalCLPprintModelCLPprobNameCLPreadMPSCLPresizeCLPrestoreModelCLPreturn_codeCLPsaveModelCLPscaleModelCLPsetColNameCLPsetLogLevelCLPsetMaximumIterationsCLPsetMaximumSecondsCLPsetNumberIterationsCLPsetObjDirCLPsetRowNameCLPsolveInitialBarrierCLPsolveInitialBarrierNoCrossCLPsolveInitialCLPsolveInitialDualCLPsolveInitialPrimalCLPstatus_codeCLPversionCLPwriteMPSCLP
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Add and delete rows and columns, clpAPI style | addColsCLP addRowsCLP delColsCLP delRowsCLP |
| Add or delete rows and columns | clp_add_columns clp_add_rows clp_delete_columns clp_delete_rows |
| Solution vectors | clp_col_solution clp_reduced_costs clp_row_activity clp_row_price clp_set_col_solution |
| Control parameters for clp_solve() | clp_control |
| Release a Clp model | clp_free |
| The value Clp treats as infinite | clp_inf |
| Solve a loaded model | clp_crash clp_dual_simplex clp_idiot clp_initial_barrier_no_cross_solve clp_initial_barrier_solve clp_initial_dual_solve clp_initial_primal_solve clp_initial_solve clp_initial_solve_with_options clp_primal_simplex |
| Is a model still usable? | clp_is_open |
| Feasibility and optimality flags | clp_dual_feasible clp_is_abandoned clp_is_dual_objective_limit_reached clp_is_iteration_limit_reached clp_is_primal_objective_limit_reached clp_is_proven_dual_infeasible clp_is_proven_optimal clp_is_proven_primal_infeasible clp_primal_feasible |
| Load a problem into a Clp model | clp_load_problem |
| Load a quadratic objective | clp_load_quadratic_objective |
| Algorithm settings | clp_algorithm clp_iterations clp_log_level clp_perturbation clp_scaling clp_set_algorithm clp_set_iterations clp_set_log_level clp_set_perturbation clp_set_scaling |
| The constraint matrix | clp_elements clp_indices clp_matrix clp_vector_lengths clp_vector_starts |
| Create a Clp model | clp_model |
| Change one matrix coefficient | clp_modify_coefficient |
| Size of a model | clp_num_cols clp_num_elements clp_num_rows |
| Bounds and objective coefficients | clp_col_lower clp_col_upper clp_objective clp_row_lower clp_row_upper clp_set_col_lower clp_set_col_upper clp_set_objective clp_set_row_lower clp_set_row_upper |
| Objective value and offset | clp_objective_offset clp_objective_value clp_set_objective_offset |
| Optimization direction | clp_obj_sense clp_optimization_direction clp_set_obj_sense clp_set_optimization_direction |
| Options for Clp's presolve and algorithm choice | clp_options |
| Individual presolve transformations | clp_options_do_doubleton clp_options_do_dual clp_options_do_dupcol clp_options_do_duprow clp_options_do_forcing clp_options_do_implied_free clp_options_do_singleton clp_options_do_singleton_column clp_options_do_tighten clp_options_do_tripleton clp_options_infeasible_return clp_options_presolve_actions clp_options_set_do_doubleton clp_options_set_do_dual clp_options_set_do_dupcol clp_options_set_do_duprow clp_options_set_do_forcing clp_options_set_do_implied_free clp_options_set_do_singleton clp_options_set_do_singleton_column clp_options_set_do_tighten clp_options_set_do_tripleton clp_options_set_infeasible_return clp_options_set_presolve_actions clp_options_set_substitution clp_options_substitution |
| Release a Clp options object | clp_options_free |
| Presolve and algorithm options | clp_options_get_extra_info clp_options_get_presolve_passes clp_options_get_presolve_type clp_options_get_solve_type clp_options_get_special_option clp_options_set_presolve_type clp_options_set_solve_type clp_options_set_special_option |
| Numerical tolerances and limits | clp_dual_bound clp_dual_objective_limit clp_dual_tolerance clp_hit_max_iterations clp_infeasibility_cost clp_max_iterations clp_max_seconds clp_primal_tolerance clp_set_dual_bound clp_set_dual_objective_limit clp_set_dual_tolerance clp_set_infeasibility_cost clp_set_max_iterations clp_set_max_seconds clp_set_primal_tolerance clp_set_small_element_value clp_small_element_value |
| Print a model through Clp | clp_print_model |
| The name of the problem | clp_problem_name clp_set_problem_name |
| Read an MPS file | clp_read_mps |
| Change the size of a model | clp_resize |
| Row and column names | clp_col_name clp_col_names clp_drop_names clp_length_names clp_row_name clp_row_names clp_set_col_name clp_set_names clp_set_row_name |
| Save and restore a model | clp_restore_model clp_save_model |
| Mark columns as integer | clp_delete_integer clp_integer_information clp_set_integer |
| Solve a linear program | clp_solve |
| Solution status | clp_secondary_status clp_set_secondary_status clp_set_status clp_status clp_status_message |
| Basis status for warm starts | clp_col_status clp_copyin_status clp_row_status clp_set_col_status clp_set_row_status clp_status_array clp_status_exists |
| Infeasibility measures | clp_check_solution clp_num_dual_infeasibilities clp_num_primal_infeasibilities clp_sum_dual_infeasibilities clp_sum_primal_infeasibilities |
| Rays certifying unboundedness or infeasibility | clp_infeasibility_ray clp_unbounded_ray |
| Version of the Clp library in use | clp_features clp_version |
| Write an MPS file | clp_write_mps |
| Accessors for clpPtr objects | clpPointer clpPointer,clpPtr-method clpPtr-accessors clpPtrType clpPtrType,clpPtr-method clpPtrType<- clpPtrType<-,clpPtr,character-method isCLPpointer isCLPpointer,clpPtr-method isNULLpointerCLP isNULLpointerCLP,clpPtr-method show,clpPtr-method |
| A pointer to a Clp problem, clpAPI style | clpPtr-class |
| Names and files, clpAPI style | copyNamesCLP dropNamesCLP isAvailableFuncCLP lengthNamesCLP modifyCoefficientCLP printModelCLP probNameCLP readMPSCLP restoreModelCLP saveModelCLP setColNameCLP setRowNameCLP writeMPSCLP |
| Problem data, clpAPI style | chgColLowerCLP chgColUpperCLP chgObjCoefsCLP chgRowLowerCLP chgRowUpperCLP getColLowerCLP getColUpperCLP getIndCLP getNnzCLP getNumColsCLP getNumNnzCLP getNumRowsCLP getObjCoefsCLP getRowLowerCLP getRowUpperCLP getVecLenCLP getVecStartCLP |
| Solutions and status, clpAPI style | getColDualCLP getColPrimCLP getObjValCLP getRowDualCLP getRowPrimCLP getSolStatusCLP return_codeCLP status_codeCLP |
| Create and delete a problem, clpAPI style | delProbCLP initProbCLP |
| Build a problem, clpAPI style | loadMatrixCLP loadProblemCLP |
| Change the size of a problem, clpAPI style | resizeCLP |
| Solver settings, clpAPI style | getHitMaximumIterationsCLP getLogLevelCLP getMaximumIterationsCLP getMaximumSecondsCLP getObjDirCLP getScaleFlagCLP scaleModelCLP setLogLevelCLP setMaximumIterationsCLP setMaximumSecondsCLP setNumberIterationsCLP setObjDirCLP |
| Solve a problem, clpAPI style | dualCLP idiotCLP primalCLP solveInitialBarrierCLP solveInitialBarrierNoCrossCLP solveInitialCLP solveInitialDualCLP solveInitialPrimalCLP |
| The Clp version, clpAPI style | versionCLP |