Giter Site home page Giter Site logo

Simplify? about cutest.jl HOT 5 CLOSED

juliasmoothoptimizers avatar juliasmoothoptimizers commented on September 26, 2024
Simplify?

from cutest.jl.

Comments (5)

dpo avatar dpo commented on September 26, 2024

I agree we need to trim this down. I think only the Julia interface should use NLPModels, and it should build on the core interface. That would also help coverage a lot. I propose to only keep inplace versions of the core interface functions. That should make the code much more manageable. What do you think?

from cutest.jl.

abelsiqueira avatar abelsiqueira commented on September 26, 2024

The core interface is already only inplace, though we don't use ! on the names.

Not using nlp on both is a valid option too. Let me work on this a little.

from cutest.jl.

abelsiqueira avatar abelsiqueira commented on September 26, 2024

On the Cint front. The core interface only accepts Array{Cint} because of ccall. The specialized interface has two options:

  • Only accept Array{Cint}. The user has to comply to make it work.
  • Only accept Array{Int}. We would have to make a conversion using a temporary vector of Cints.

from cutest.jl.

dpo avatar dpo commented on September 26, 2024

Let's only use Cint and have the thinnest interface possible. I doubt anyone who wants to use Julia will want to call the core interface directly.

from cutest.jl.

abelsiqueira avatar abelsiqueira commented on September 26, 2024

Closed by #90

from cutest.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.