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

📄 lp_info.m

📁 matlab6 lpmex matlab6 lpmexma tlab6 lpmexmatlab6 lpmex
💻 M
字号:
%LP_INFO  Returnes information of mixed integer linear programming problems.%%  SYNOPSIS: [valid_handle,obj,x,duals,basis] = lp_info(lp_handle,solution,basis,lp,scale)%%  ARGUMENTS: %%   lp_handle: integer handle pointing to LP problem.%    solution: flag for returning the solution of the LP problem.%          lp: flag for printing the LP problem.%       basis: flag for returning the basis of the LP problem.%       scale: flag for printing the scales of the LP problem.%%  OUTPUT: %% valid_handle: array of integer handle to the lp created.%          obj: Optimal value of the objective function.%            x: Optimal value of the decision variables.%        duals: solution of the dual problem.%        basis: basis of the lp problem.%%  Copyright (c) 1995 by Jeffrey C. Kantor. All rights reserved.%%  Email: jeff@control.cheg.nd.edu%         cchen@darwin.cc.nd.edufunction [valid_handle,obj,x,duals,basis] = lp_info(lp_handle,solution,basis,lp,scale)[valid_handle] = lpmex('print_handle');if nargin > 1  [obj,x,duals] = lpmex('get_solution', lp_handle);endif nargin > 2  [basis] = lpmex('get_basis', lp_handle);endif nargin > 3  lpmex('print_lp', lp_handle);endif nargin > 4  lpmex('print_scales', lp_handle);end

⌨️ 快捷键说明

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