Originally posted by: Ho_Thanh
Dear all,
I am using ILOG CPLEX (Concert, Library) for my research. I am writing my algorithm by C++ in Visual Studio 2010 with CPLEX 12.6.
In my algorithm, I have to solve some consecutive linear programs (LP) that satisfy a particular property as follows.
Assume that the first linear program (1) takes the standard form
min <c,x>
s.t. Ax <= b
and 0 <= x
where x \in R^n, A \in M_{m x n}, b \in R^m, c \in R^n,
and by the basic function of CPLEX for LP, I easily get x0, the solution of (1) .
Then, the next linear program (2) is obtained by adding (1) a new real variable x_{n+1} and a new constraint as follows.
(2): min <c,x> + g x_{n+1}
s.t. Ax <= b
and <d,x> + e x_{n+1} <= f
and 0 <= x, 0 <= x_{n+1}.
where e,g,f \in R, d \in R^n.
It is similar to the next linear programs in my algorithm.
When n and the number of linear problems are large , by independently applying CPLEX for solving each LP as (1), my algorithm spends a lot of time.
My problem is how to apply CPLEX to solve the linear program (2) as well as the next linear programs fast? Specially, based on the previous solution x0? or the information of previous problems?
Please help me this problem.
Thank you so much.
Best regards
HO Thanh
#DecisionOptimization#MathematicalProgramming-General