0
problem with fot_linprog

[Scilab 6.1.1, FOT v.0.4.1, windows 10]

Let's take a simple example to illustrate the problem:
A = [6, 15, 6; 14, 42, 16; 2, 8, 2];
B = [9; 21; 4]; C = [10; -7; -5]; LB = [0, 0, 0];
[xopt, zmin, exitflag, output, lambda]= fot_linprog (C, A, B, [], [], LB, []);

Everything works fine, except Lagrange multipliers from lambda:
--> disp(lambda.ineqlin);
0.
-0.3125
0.

The correct answer should be [0; +0.3125; 0] (checked by manual calculation and by means of karmarkar)

Dear experts, can someone tell me what I'm doing wrong? Or is this a fot_linprog bug and would it be better to use another tool?


Scilab Toolbox Optimization Toolbox 09-05-22, 6:06 p.m. grandpater

Log-in to answer to this question.