-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getobjbound for conic_to_LPQP #338
Comments
also one test isn't passing there because the answer is a factor of 2 off. it could be caused by maybe forgetting the 2 in the RSOC?
|
Try out JuliaOpt/MathProgBase.jl#160 for the With @variable(m, w == 2)
@constraint(m, sum(t.^2) <= u*w) You get |
Yes, I wrote that part correctly.
…On Mar 29, 2017 10:46 AM, "Miles Lubin" ***@***.***> wrote:
Try out JuliaOpt/MathProgBase.jl#160
<JuliaOpt/MathProgBase.jl#160> for the getobjbound
issue.
With
@variable(m, w == ***@***.***(m, sum(t.^2) <= u*w)
You get u >= sum(t.^2)/2. Is that what you want?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#338 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJq0k6hJnJOFk6BSqVnGhCWH_MI-3Yfdks5rqm63gaJpZM4Msim6>
.
|
So the objective is to minimize |
Yes
…On Mar 29, 2017 10:53 AM, "Miles Lubin" ***@***.***> wrote:
So the objective is to minimize sum(t.^2)/2 + rho*sum(x.^2)/2?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#338 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJq0kxHwia_ndsawslpDKzPm4FCtZr_Tks5rqnBzgaJpZM4Msim6>
.
|
The constraints are being enforced as written:
|
Then that is the correct objective. But the conic tests pass with objective
twice that, suggesting an issue with conic to lpqp
On Mar 29, 2017 11:00, "Miles Lubin" <notifications@github.com> wrote:
The constraints are being enforced as written:
julia> sum(getvalue(t).^2)/2 + rho*sum(getvalue(x).^2)/2
8.022766055303913
julia> getobjectivevalue(m)
8.022766159395793
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#338 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJq0k7GUtmAbOyRYbzRCLvH4wJlnF9X-ks5rqnH7gaJpZM4Msim6>
.
|
That suggests an issue with the conic formulation, not conic to lpqp. |
I don't understand. There is only one formulation.
…On Mar 29, 2017 11:12 AM, "Miles Lubin" ***@***.***> wrote:
That suggests an issue with the conic formulation, not conic to lpqp.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#338 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJq0kxmptIT-8tUmquJWmHfAP_Qf1HV8ks5rqnTqgaJpZM4Msim6>
.
|
What solver is reporting 16.045564? |
All.
Could be a bug in pajarito too.
…On Mar 29, 2017 11:17 AM, "Miles Lubin" ***@***.***> wrote:
What solver is reporting 16.045564?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#338 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJq0k6zCUnvPmvqbUckAcsZE1fPHKy8Iks5rqnYAgaJpZM4Msim6>
.
|
I was testing with mosek above through conic_to_lpqp and it was giving the
right answer.
…On Mar 29, 2017 11:25, "Chris C." ***@***.***> wrote:
All.
Could be a bug in pajarito too.
On Mar 29, 2017 11:17 AM, "Miles Lubin" ***@***.***> wrote:
> What solver is reporting 16.045564?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#338
issuecomment-290123188>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/
AJq0k6zCUnvPmvqbUckAcsZE1fPHKy8Iks5rqnYAgaJpZM4Msim6>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#338 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABp0M7jBBbqaz225upLi1_OcWvZ9M7j3ks5rqnfNgaJpZM4Msim6>
.
|
OK this seems to be fixed. Tests passing when on MPB master. |
@mlubin, in new QP tests
The text was updated successfully, but these errors were encountered: