ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

linprog function

Hi to all of us.

I'm working with
LV 8 Professional Development System and I want to use the linprog function.

I want to compute the minimum of a linear function, using only the linear equality constraints (aineq=[ ], bineq= [ ], aeq=A, beq=b). The program doesn't work, the error is :
 "Error in function linprog at line 98.  The input parameters are not in the required format."

Otherwise, when I put the input parameters, to solve my problem using only the linear inequality constraints (aineq=A, bineq=b, aeq=[ ], beq=[ ]), the program works.

I don't know why the first doesn't work, because aineq & bineq must have the same format as aeq & beq respectively.

Could anybody help me in some way? Maybe there is another function to obtain a good solution.

Thanks to much.
Enric Roig



0 Kudos
Message 1 of 1
(6,726 Views)