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
0
More than 60 people have viewed my question, thank you for your interest in this topic. Unfortunately, I have not yet received an answer to my question, so I am trying to figure out the problem in fot_linprog.
My test: C=[1;1]; Aeq=[2, 1]; Beq=[1]; A=[2;-1]; B=[0]; LB=[0;0].
I have tried four methods: 1) manually; 2) Matlab (linprog); 3) Scilab (fot_linprog); 4) Scilab (karmarkar).
The results are as follows: xopt and fopt matched in all cases.
Dual problem: yopt have the same modulus but differ in sign (yopt.eqlin and yopt.ineqlin):
3/4 and 1/4, manual calculation;
-0.75 and 0.25, (Matlab, linprog);
0.75 and-0.25 (Scilab, fot_linprog);
-0.75 and 0.25 (Scilab, karmarkar).
Carefully reading the documentation for the primal-dual LP problem in scilab and some other solvers, I found important (as it seems to me) information about the formulation of the dual problem in linprog (matlab): "...This sign convention matches that of nonlinear solvers (see Constrained Optimality Theory). However, this sign is the opposite of the sign in much linear programming literature, so a linprog Lagrange multiplier is the negative of the associated "shadow price"..."
In this comparison, Scilab (karmarkar) provides the same result as Matlab (linprog). The Scilab solver (fot_linprog) produces a completely different result in sign for yopt. Nothing about this was found in the documentation of fot_linprog (Scilab). Any help?
02-06-22, 8:30 p.m. grandpater


0
Really I enjoy your site with effective and useful information. It is included very nice post with a lot of our resources.thanks for share. i enjoy this post. uniswap
23-10-22, 4:31 p.m. seoexpert123


0
This is just the information I am finding everywhere. Thanks for your blog, I just subscribe your blog. This is a nice blog.. real raw news
24-10-22, 3:24 p.m. seoexpert123


0
Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work! raee dimenticati
05-11-22, 2:58 p.m. seoexpert123


0
I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post. Live Draw Togel
08-11-22, 7:10 p.m. seoexpert123


0
I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often. backlinks
14-11-22, 11:43 a.m. seoexpert123


0
Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. tie dye sweatshirt
21-11-22, 6:26 p.m. vepsobirte


0
This was really an interesting topic and I kinda agree with what you have mentioned here! best USB power strip
29-11-22, 5:02 p.m. vepsobirte


0
I was surfing net and fortunately came across this site and found very interesting stuff here. Its really fun to read. I enjoyed a lot. Thanks for sharing this wonderful information. sv388
03-12-22, 6:57 p.m. vepsobirte


0
It’s a great platform regarding to one of our main problems! First I saw about them on the internet, and after linking to them I was really comfortable! Recommended to all! asian food
03-12-22, 7:51 p.m. Natalie12


0
I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article... ufabet888
07-12-22, 8:02 p.m. seoexpert123


0
I am definitely enjoying your website. You definitely have some great insight and great stories. k9win
17-12-22, 2:19 p.m. seoexpert123


0
Resume Builder in Little Rock , AR | Resume Builderr makes it easy for you Resume Builder
21-12-22, 10:46 p.m. vepsobirte


0
Excellent information on your blog, thank you for taking the time to share with us. Amazing insight you have on this, it's nice to find a website that details so much information about different artists. find out more
Oops! Looks like spam! Waiting for moderator approval.
27-12-22, 11:53 p.m. Natalie12

Login to add comment
Oops! Looks like spam! Waiting for moderator approval


0
Once, solving these kinds of issues were the toughest task for everyone but now it is not because of this incredible website! I loved the way it works and the results are wonderful too! Checkout them. 7anime
Oops! Looks like spam! Waiting for moderator approval.
28-12-22, 11:48 a.m. Natalie12

Login to add comment
Oops! Looks like spam! Waiting for moderator approval


0
Extraordinary results! And what a changeover for me! I am really glad that I chose them for work! I would suggest them to everyone. They are amazing in their work! white hat seo
Oops! Looks like spam! Waiting for moderator approval.
29-12-22, 2:57 p.m. Natalie12

Login to add comment
Oops! Looks like spam! Waiting for moderator approval


0
Outstanding Service! Great Execution of their plans in work! They are just perfect! I would like to recommend them to everyone out there! You will not regret it! Link building
Oops! Looks like spam! Waiting for moderator approval.
02-01-23, 11:23 p.m. Natalie12

Login to add comment
Oops! Looks like spam! Waiting for moderator approval


0
I appreciate everything you have added to my knowledge base.Admiring the time and effort you put into your blog and detailed information you offer.Thanks. www 789tiger com
04-01-23, 3:09 p.m. peglegge


0
We provide your transportation needs with a dedicated staff who are knowledgeable and experienced in various public transportation and recreational opportunities. Our goal is to provide an exceptional service, on time and with professionalism to our customers Large Group Airport Transfers
07-01-23, 1:24 p.m. peglegge


0
I was surfing thr ough the internet to get the fine idea for my problem and instead of fine I got the finest though! Check out them for all the latest options and the best crew for help as well! Vets For Pets Washington
Oops! Looks like spam! Waiting for moderator approval.
07-01-23, 3:34 p.m. Natalie12

Login to add comment
Oops! Looks like spam! Waiting for moderator approval


0
I was surfing through the internet to get the fine idea for my problem and instead of fine I got the finest though! Check out them for all the latest options and the best crew for help as well! trash chute handles
Oops! Looks like spam! Waiting for moderator approval.
08-01-23, 12:10 p.m. Natalie12

Login to add comment
Oops! Looks like spam! Waiting for moderator approval


0
bThis is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here keep up the good work Afghani dress
08-01-23, 6:05 p.m. palina4157


0
completely shocked by the results of this site! I cannot find any difficulty using it. Works perfectly and very easy to execute as well! 5 stars for them! Suggested to everyone! chute closer
Oops! Looks like spam! Waiting for moderator approval.
08-01-23, 7:01 p.m. Natalie12

Login to add comment
Oops! Looks like spam! Waiting for moderator approval


0
Welcome to Nassau Bus and Transportation Services. We are a full-service bus company offering reliable and comfortable transportation services, as well as group tours and mini bus tours on a daily basis Private Transfers
Oops! Looks like spam! Waiting for moderator approval.
12-01-23, 11:14 a.m. peglegge

Login to add comment
Oops! Looks like spam! Waiting for moderator approval


0
Great write-up, I am a big believer in commenting on blogs to inform the blog writers know that they’ve added something worthwhile to the world wide web!.. Cheap Kashmir tour packages
12-01-23, 2:52 p.m. peglegge


0
I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post. u2nine
18-01-23, 11:50 a.m. peglegge


0
Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work. Buy Solar Panel 2023 USA
18-01-23, 12:44 p.m. peglegge


0
Thank you for taking the time to publish this information very useful! SLOT NAGA
18-01-23, 6:08 p.m. peglegge


0
We provide halal products only! All our products are Muslim-friendly, so you can buy with confidence. Our goal is to create a Online Grocery Store environment for Muslim consumers. Halal-friendly foods and groceries are becoming more popular among the people of Japan and generally around the world. Online Grocery Store
Oops! Looks like spam! Waiting for moderator approval.
20-01-23, 6:06 p.m. palina4157

Login to add comment
Oops! Looks like spam! Waiting for moderator approval


0
Hi, I find reading this article a joy. It is extremely helpful and interesting and very much looking forward to reading more of your work.. cleaning services
29-01-23, 2:20 p.m. peglegge


0
I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. ufabet 363
Oops! Looks like spam! Waiting for moderator approval.
30-01-23, 12:25 p.m. peglegge

Login to add comment
Oops! Looks like spam! Waiting for moderator approval


Log-in to answer to this question.