数模论坛

 找回密码
 注-册-帐-号
搜索
热搜: 活动 交友 discuz
查看: 1900|回复: 1

有没求解DP的软件

[复制链接]
发表于 2004-6-6 00:29:47 | 显示全部楼层 |阅读模式
<>有没求解DP的软件</P>
发表于 2004-6-10 06:10:19 | 显示全部楼层
<>matlab就是很不错的软件。</P><>LP     Linear programming.                  
    LP has been replaced with LINPROG.  LP currently works but
    will be removed in the future.  Use LINPROG instead.

    X=LP(f,A,b) solves the linear programming problem:
         
             min f'x    subject t   Ax &lt;= b
              x
   
    X=LP(f,A,b,VLB,VUB) defines a set of lower and upper
    bounds on the design variables, X, so that the solution is always in
    the range VLB &lt;= X &lt;= VUB.

    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.

    X=LP(f,A,b,VLB,VUB,X0,N,DISPLAY) controls the level of warning
    messages displayed.  Warning messages can be turned off with
    DISPLAY = -1.

    [x,LAMBDA]=LP(f,A,b) returns the set of Lagrangian multipliers,
    LAMBDA, at the solution.
   
    [X,LAMBDA,HOW] = LP(f,A,b) also returns a string how that indicates
    error conditions at the final iteration.

    LP produces warning messages when the solution is either unbounded
    or infeasible.</P><>QP Quadratic programming.
    QP has been replaced with QUADPROG.  QP currently works but
    will be removed in the future.  Use QUADPROG instead.

    X=QP(H,f,A,b) solves the quadratic programming problem:

             min 0.5*x'Hx + f'x   subject t  Ax &lt;= b
              x   

        X=QP(H,f,A,b,VLB,VUB) defines a set of lower and upper
        bounds on the design variables, X, so that the solution  
        is always in the range VLB &lt;= X &lt;= VUB.

        X=QP(H,f,A,b,VLB,VUB,X0) sets the initial starting point to X0.

        X=QP(H,f,A,b,VLB,VUB,X0,N) indicates that the first N constraints
        defined by A and b are equality constraints.

        X=QP(H,f,A,b,VLB,VUB,X0,N,DISPLAY) controls the level of warning
        messages displayed.  Warning messages can be turned off with</P>
您需要登录后才可以回帖 登录 | 注-册-帐-号

本版积分规则

小黑屋|手机版|Archiver|数学建模网 ( 湘ICP备11011602号 )

GMT+8, 2024-11-27 10:31 , Processed in 0.057048 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表