package lp-glpk

  1. Overview
  2. Docs
module CI = Cstubs_internals
val lp_glpk_stub_1_glp_term_out : int -> unit
val lp_glpk_stub_2_glp_create_prob : unit -> CI.voidp
val lp_glpk_stub_3_glp_delete_prob : (_, _) CI.fatptr -> unit
val lp_glpk_stub_4_glp_set_prob_name : (_, _) CI.fatptr -> (_, _) CI.fatptr -> unit
val lp_glpk_stub_5_glp_get_prob_name : (_, _) CI.fatptr -> CI.voidp
val lp_glpk_stub_6_glp_set_obj_dir : (_, _) CI.fatptr -> int -> unit
val lp_glpk_stub_7_glp_get_obj_dir : (_, _) CI.fatptr -> int
val lp_glpk_stub_8_glp_add_rows : (_, _) CI.fatptr -> int -> int
val lp_glpk_stub_9_glp_add_cols : (_, _) CI.fatptr -> int -> int
val lp_glpk_stub_10_glp_set_row_name : (_, _) CI.fatptr -> int -> (_, _) CI.fatptr -> unit
val lp_glpk_stub_11_glp_get_row_name : (_, _) CI.fatptr -> int -> CI.voidp
val lp_glpk_stub_12_glp_set_col_name : (_, _) CI.fatptr -> int -> (_, _) CI.fatptr -> unit
val lp_glpk_stub_13_glp_get_col_name : (_, _) CI.fatptr -> int -> CI.voidp
val lp_glpk_stub_14_glp_set_row_bnds : (_, _) CI.fatptr -> int -> int -> float -> float -> unit
val lp_glpk_stub_15_glp_set_col_bnds : (_, _) CI.fatptr -> int -> int -> float -> float -> unit
val lp_glpk_stub_16_glp_set_obj_coef : (_, _) CI.fatptr -> int -> float -> unit
val lp_glpk_stub_17_glp_set_mat_row : (_, _) CI.fatptr -> int -> int -> (_, _) CI.fatptr -> (_, _) CI.fatptr -> unit
val lp_glpk_stub_18_glp_set_mat_col : (_, _) CI.fatptr -> int -> int -> (_, _) CI.fatptr -> (_, _) CI.fatptr -> unit
val lp_glpk_stub_19_glp_load_matrix : (_, _) CI.fatptr -> int -> (_, _) CI.fatptr -> (_, _) CI.fatptr -> (_, _) CI.fatptr -> unit
val lp_glpk_stub_20_glp_set_col_kind : (_, _) CI.fatptr -> int -> int -> unit
val lp_glpk_stub_21_glp_get_col_kind : (_, _) CI.fatptr -> int -> int
val lp_glpk_stub_22_glp_get_num_rows : (_, _) CI.fatptr -> int
val lp_glpk_stub_23_glp_get_num_cols : (_, _) CI.fatptr -> int
val lp_glpk_stub_24_glp_get_num_nz : (_, _) CI.fatptr -> int
val lp_glpk_stub_25_glp_get_num_int : (_, _) CI.fatptr -> int
val lp_glpk_stub_26_glp_get_num_bin : (_, _) CI.fatptr -> int
val lp_glpk_stub_27_glp_init_smcp : (_, _) CI.fatptr -> unit
val lp_glpk_stub_28_glp_init_iocp : (_, _) CI.fatptr -> unit
val lp_glpk_stub_29_glp_simplex : (_, _) CI.fatptr -> (_, _) CI.fatptr -> int
val lp_glpk_stub_30_glp_intopt : (_, _) CI.fatptr -> (_, _) CI.fatptr -> int
val lp_glpk_stub_31_glp_get_status : (_, _) CI.fatptr -> int
val lp_glpk_stub_32_glp_mip_status : (_, _) CI.fatptr -> int
val lp_glpk_stub_33_glp_get_obj_val : (_, _) CI.fatptr -> float
val lp_glpk_stub_34_glp_mip_obj_val : (_, _) CI.fatptr -> float
val lp_glpk_stub_35_glp_get_row_prim : (_, _) CI.fatptr -> int -> float
val lp_glpk_stub_36_glp_get_row_dual : (_, _) CI.fatptr -> int -> float
val lp_glpk_stub_37_glp_mip_row_val : (_, _) CI.fatptr -> int -> float
val lp_glpk_stub_38_glp_get_col_prim : (_, _) CI.fatptr -> int -> float
val lp_glpk_stub_39_glp_get_col_dual : (_, _) CI.fatptr -> int -> float
val lp_glpk_stub_40_glp_mip_col_val : (_, _) CI.fatptr -> int -> float
type 'a result = 'a
type 'a return = 'a
type 'a fn =
  1. | Returns : 'a CI.typ -> 'a return fn
  2. | Function : 'a CI.typ * 'b fn -> ('a -> 'b) fn
val map_result : ('a -> 'b) -> 'a -> 'b
val returning : 'a CI.typ -> 'a return fn
val (@->) : 'a CI.typ -> 'b fn -> ('a -> 'b) fn
val foreign : 'a 'b. string -> ('a -> 'b) fn -> 'a -> 'b
val foreign_value : 'a. string -> 'a Ctypes.typ -> 'a Ctypes.ptr
OCaml

Innovation. Community. Security.