Re: [math] Min Cost Flow Linear Programming Problem Using Optimization Package
On 05/23/2014 05:36 AM, Reginald Johnson wrote: > I agree, and in fact my original formulation used that same format > (A_ij=A_ji) for the constraint. However, I didn't (and still don't) see a > way to create a constraint in the optimization class that will let me use > anything other than a number for the right hand side. The simplex solver in math does only support constants on the right side, and I am not aware of another solver that would support it. A possible way to express this constraint could be: A_ij - A_ji = 0 btw. you should not use the org.apache.commons.math3.optimization package anymore. The contents are deprecated and have been refactored into package org.apache.commons.math3.optim. The SimplexSolver found there is more robust and faster. Thomas - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org
RE: [vfs] support JCIFS
It's up to you ;-) is not included in the main project because of the license IIRC. Gary Original message From: Sandhya Rajagopalan Date:05/22/2014 18:30 (GMT-05:00) To: user@commons.apache.org Subject: [vfs] support JCIFS Hi, When are you going to support JCIFS? I see this is your sandbox. Can I add jcifs in providers.xml to start using it? -Sandhya
Re: [math] Min Cost Flow Linear Programming Problem Using Optimization Package
Is it possible that you encode the symmetry constraint into the function itself by only allowing adaptation of the upper triangle? On Thu, May 22, 2014 at 8:36 PM, Reginald Johnson < reginald.john...@gmail.com> wrote: > I agree, and in fact my original formulation used that same format > (A_ij=A_ji) for the constraint. However, I didn't (and still don't) see a > way to create a constraint in the optimization class that will let me use > anything other than a number for the right hand side. > > Do you know if this library has this ability? > On May 22, 2014 8:33 AM, "Ted Dunning" wrote: > >> In electrical and fluid flow problems, it is customary to encode flow to >> a node as positive and flow from as negative. This reduces your >> constraints to a much simpler form >> >> Sum_j A_ij = 0 >> A_ij = A_ji >> >> Sent from my iPhone >> >
[vfs] support JCIFS
Hi, When are you going to support JCIFS? I see this is your sandbox. Can I add jcifs in providers.xml to start using it? -Sandhya
Re: [math] Min Cost Flow Linear Programming Problem Using Optimization Package
I agree, and in fact my original formulation used that same format (A_ij=A_ji) for the constraint. However, I didn't (and still don't) see a way to create a constraint in the optimization class that will let me use anything other than a number for the right hand side. Do you know if this library has this ability? On May 22, 2014 8:33 AM, "Ted Dunning" wrote: > In electrical and fluid flow problems, it is customary to encode flow to a > node as positive and flow from as negative. This reduces your constraints > to a much simpler form > > Sum_j A_ij = 0 > A_ij = A_ji > > Sent from my iPhone >
Re: [math] Min Cost Flow Linear Programming Problem Using Optimization Package
In electrical and fluid flow problems, it is customary to encode flow to a node as positive and flow from as negative. This reduces your constraints to a much simpler form Sum_j A_ij = 0 A_ij = A_ji Sent from my iPhone - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org