[julia-users] Re: Error on argument when defining myconstraint function (using NLopt)

2016-06-20 Thread JC
Thank you! I also realized that an had that fixed. On Monday, June 20, 2016 at 11:28:23 PM UTC-4, Kristoffer Carlsson wrote: > > Your function body is the problem. How can you try to assign 0 to an > (rvalue) expression?

[julia-users] Error on argument when defining myconstraint function (using NLopt)

2016-06-20 Thread JC
My code is giving me an error message as below when making myconstraint function. *ERROR: syntax: "projone'" is not a valid function argument name* I am not sure why an argument for a function has to have a valid name unless they could overlap with the embedded arguments. Does anyone know what

Re: [julia-users] Question in using JuMP

2016-06-13 Thread JC
Thank you very much! On Monday, June 13, 2016 at 1:17:27 PM UTC-4, Mauro wrote: > > Better repost this to julia-opt list. Mauro > > On Mon, 2016-06-13 at 04:27, JC <iky...@gmail.com > wrote: > > I have been trying to use JuMP for an optimization problem and r

[julia-users] Question in using JuMP

2016-06-13 Thread JC
I have been trying to use JuMP for an optimization problem and ran into many issues. 1. I made my own function called myf and try to register that so that I can read it into my objective function but am getting error message saying "Unrecognized function :myf used in nonlinear expression". 2.