[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Matlab's lp() function
From: |
Hans Zoebelein |
Subject: |
Matlab's lp() function |
Date: |
Fri, 24 Apr 1998 18:45:48 +0200 (CEST) |
Supporting my fight with a simple looking script which was
written for Matlab, "John W. Eaton" <address@hidden>
sent me his 'spconvert.m' function file which should resolve
one problem.
The last lock which has to opened before OCTAVE can digest this
script, seems to be the use of Matlab's 'lp()' function.
Matlab's online manual says:
LP Linear programming.
X=LP(f,A,b) solves the linear programming problem:
min f'x subject to: Ax <= b
x
[x,LAMBDA]=LP(f,A,b) returns the set of Lagrangian multipliers,
LAMBDA, at the solution.
X=LP(f,A,b,VLB,VUB,X0) sets the initial starting point to X0.
X=LP(f,A,b,VLB,VUB,X0,N) indicates that the first N constraints
defined by A and b are equality constraints.
YUCK! There seems to be no lp() function under OCTAVE. Would it be
possible, to simulate Matlab's lp() function?
Enjoy!
Hans
--
Hans Zoebelein * You are interested in Linux blind support?
address@hidden * Join the blinux mailing list and mail to:
Check out Blinux Project: * address@hidden
http://www.leb.net/blinux * with subject line: subscribe
- Matlab's lp() function,
Hans Zoebelein <=