⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme_extension

📁 这是C语言版本的Linear Programming,同lpmex的功能是一样的
💻
字号:
This program is an extension of the lpmex software written by           Jeffrey C. Kantor          University of Notre Dame          Jeffrey.C.Kantor.1@nd.edu          Adam C. Chen          University of Notre Dame          cchen@darwin.cc.nd.eduThe extensions are made by          Fredrik Altenstedt          Chalmers University of Technology          alten@math.chalmers.seThe submission of this program to the Matlab ftp archive was suggested by prof. Kantor. The extensions are intended to make all the information lpsolve reads from an external file avalible from within matlab. Specifically it makes it possible to use lpmex for reading MPS-files into matlab.Testing of the program was done with matlab 5.3 (5.3.0.10183).Instructions for using the program:Step 1Get the lpmex software.Step 2Replace the file lpmex.c by the one obtained with this document.Step 3Follow the instructions from the original lpmex distribution.In addition to the functions decribed in the  README_MEX file of lpmexthese extra functions are included.  Functions that return Information:[value] = lpmex('get_no_rows', lp_handle)          Return number of rows in the problem.[value] = lpmex('get_no_cols', lp_handle)          Return number of columns in the problem.[col_vec] = lpmex('get_orig_rh_vec', lp_handle)            Return original right hand values.[row_vec] = lpmex('get_obj_fun', lp_handle)            Return objective row.          [col_vec] = lpmex('get_orig_lowbo', lp_handle)            Return original lower bounds on variables.            A value = -1e24 means -Inf.[col_vec] = lpmex('get_orig_upbo', lp_handle)            Return original upper bounds on variables.            A value = 1e24 means Inf.            [row_vec] = lpmex('get_constr_types', lp_handle)            Return constraint types, 0 means LE, 1 means EQ and 2 means GE.[value] =  lpmex('get_nonzeros', lp_handle)           Return number of nonzeros in the matrix.[row_cellArray] = lpmex('get_col_names', lp_handle)                  Return the names of columns. [col_cellArray] = lpmex('get_row_names', lp_handle)                  Return the names of rows.[string] =  lpmex('get_objective_name', lp_handle)            Return the objective name.[string] =  lpmex('get_problem_name', lp_handle)            Return the problem name.[col_vec] = lpmex('get_int', lp_handle)            Retrun integer requirements on variables.            0 means no integer requirement, 1 integer requirement.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -