Serving to help others

All important announces & forum rules are made here! Please read them carefully!

Serving to help others

Postby adilibrahim121 on March 18th, 2008, 4:01 pm

If you have any problem regarding programming in C++,Visual C++,Java,Html,Eclipse(Java) etc feel free to post your problem with complete description.We all will try our level best to solve the problems upto the extent we can.
With regards
Adil Ibrahim
BCS SZIC University Of Peshawar
User avatar
adilibrahim121
 
Posts: 13
Joined: March 14th, 2008, 4:15 pm
Location: Peshawar

Re: Serving to help others

Postby anands1 on March 28th, 2008, 4:49 pm

I want to input a matrix from a text file, so I can perform a simplex, primal, dual, 2-phase algorithm on it (users choice). Output the matrix every time it performs a pivot until the matrix is optimal.

Can you help me?
anands1
 
Posts: 2
Joined: March 28th, 2008, 4:45 pm

Re: Serving to help others

Postby MT Shahzad on March 29th, 2008, 3:59 pm

Hello!

Please post an example of your matrix input that you want to read from a file.
MT Shahzad
Web/Software Developer
http://mts.sw3solutions.com
User avatar
MT Shahzad
Site Admin
 
Posts: 300
Joined: February 29th, 2008, 8:11 am
Location: Muridke, Pakistan

Re: Serving to help others

Postby anands1 on April 1st, 2008, 3:18 pm

For example: the following LP problem
maximize
-x1 - 4x2 - 3x3 - 3x4
subject to.
x1 + x2 - x4 >=-1
x1 - x2 - x3 - x4 <= 2
x1 + x2 - x4 <=-1
-x1+ x2 - x3 +x4 <=-2

would be input as follows:
-1 -4 -3 -3
1 1 0 -1 >= -1
1 -1 -1 -1 <= 2
1 1 0 -1 <= -1
-1 1 -1 1 <= -2
anands1
 
Posts: 2
Joined: March 28th, 2008, 4:45 pm


Return to Announcements

Who is online

Users browsing this forum: No registered users and 0 guests