Skip to content
This repository was archived by the owner on Mar 19, 2026. It is now read-only.
This repository was archived by the owner on Mar 19, 2026. It is now read-only.

Constraint of SOCP #92

@wukong1989

Description

@wukong1989

Hi community!

I'm now working on implementation of a optimization which will need SOCP Constraint, as some sort of

||x||_2<=K

Of course, I know we can put as x*x<=K^2, but SOCP should have faster solution in my opinion as it's a classical problem with tons of optimized code on this.

Can anyone help me on how to write correct norm constraint in DOCplex? I have tried square root (**0.5) and it's not working.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions