# NLP: Attribute ScalarNonlinearFunction is not supported by the model

**URL:** <https://discourse.julialang.org/t/nlp-attribute-scalarnonlinearfunction-is-not-supported-by-the-model/110444>\
**Category:** Optimization (Mathematical)\
**Tags:** jump, nlp\
**Created:** [February 20, 2024, 9:04am UTC](https://discourse.julialang.org/t/nlp-attribute-scalarnonlinearfunction-is-not-supported-by-the-model/110444 "2024-02-20T09:04:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![blob](https://avatars.discourse-cdn.com/v4/letter/b/ebca7d/32.png) [@blob](https://discourse.julialang.org/u/blob)\
**Post date:** [February 20, 2024, 10:07am UTC](https://discourse.julialang.org/t/nlp-attribute-scalarnonlinearfunction-is-not-supported-by-the-model/110444/4 "2024-02-20T10:07:11Z")

</div>

It seems that SCIP cannot handle [either nonlinear objectives or nonlinear constraints](https://github.com/scipopt/SCIP.jl?tab=readme-ov-file#mathoptinterface-api). Maybe try replacing it with a different solver (some suggestions given [here](https://discourse.julialang.org/t/alpine-jump-gives-error-for-quadratic-functions/70321/5))?

---

_[View the full topic](https://discourse.julialang.org/t/nlp-attribute-scalarnonlinearfunction-is-not-supported-by-the-model/110444)._
