Thanks a lot Ian. Your post helped me understand the problem in a much better
way and I've solved the first objective thanks to you but incase of my second
objective which is minimize the number of nodes, I have got one of the weirdest
looking constraints which I don't know how to express in Pyt
On Tue, Jun 3, 2014 at 7:44 AM, wrote:
> I have a problem in writing a constraint in Python. Firstly, I wrote the code
> in AMPL and it was working and I'm using Python for the reason that it is
> more suitable to handle large data. I managed to write the code quite fine
> except for one const
>
> Are you trying to implement your own code rather than use an existing
> library from pypi?
I borrowed the idea from a previous file which I was working on. I input
variables and coefficients as lists and then inturn as matrices to the CPLEX.
So, I have a problem with expressing the constr
On Wed, Jun 4, 2014 at 1:15 AM, Mark Lawrence wrote:
> I also observe the gmail address which I'm assuming means google groups.
No need to assume - the OP's headers show Google Groups injection info.
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
On 03/06/2014 14:44, varun...@gmail.com wrote:
I have a problem in writing a constraint in Python. Firstly, I wrote the code
in AMPL and it was working and I'm using Python for the reason that it is more
suitable to handle large data. I managed to write the code quite fine except
for one const
I have a problem in writing a constraint in Python. Firstly, I wrote the code
in AMPL and it was working and I'm using Python for the reason that it is more
suitable to handle large data. I managed to write the code quite fine except
for one constraint(Link Mapping Constraint). I've attached pie