Add x*abs(x)
mewilhel opened this issue · 2 comments
mewilhel commented
In McCormick.jl:
- Add definition for MC{N,T<:RelaxTag} with RelaxTag = NS, MV to McCormick.jl.
- Add export statements.
- Confirm relaxations are valid using a plot. Usually a simple one to confirm the envelope (so just x*abs(x)) and a complicated one to confirm composition rules are working.
- Add unit tests.
- Create pull request into master.
- Release new minor version.
In EAGO.jl:
- Add the operator to register_eago_operators! in EAGO.jl/src/eago_optimizer/functions/nonlinear/register_special.jl.
- Update McCormick dependency in Project.toml.
- Run a simple problem with EAGO.jl to make sure that operator works.
- Create pull request into master.
- Release new minor version.
Look at xlogx
for an idea of template in McCormick.jl.
mewilhel commented
Resolved by v0.7.