Code Monkey home page Code Monkey logo

Comments (5)

jfowkes avatar jfowkes commented on August 18, 2024 1

Welcome @Xiaoyi-Qu, sorry we understand your confusion. What in PyCUTEst we currently call problems with only equality constraints correspond to problems whose only constraints are fixed variables, and by default PyCUTEst drops fixed variables when problems are imported (drop_fixed_variables=True).

For example, consider the SSC problem:

>>> prob = pycutest.import_problem('SSC')
>>> prob.n
4900
>>> prob.m
0
>>> prob = pycutest.import_problem('SSC', drop_fixed_variables=False)
>>> prob.n
5184
>>> prob.m
0

@lindonroberts perhaps the name 'equality' is confusing/wrong here and should be 'fixed' instead? Currently we are mapping SIF classification code X "the problem's only constraints are fixed variables" to 'equality'.

from pycutest.

lindonroberts avatar lindonroberts commented on August 18, 2024 1

@jfowkes - yes, I hadn't thought about it, but equality is definitely confusing. I like your suggestion of fixed instead.

from pycutest.

Xiaoyi-Qu avatar Xiaoyi-Qu commented on August 18, 2024

Thank you very much for your @jfowkes clarification! If I understand correctly, to find test problems with equality constraints, I need to write a function myself.

from pycutest.

jfowkes avatar jfowkes commented on August 18, 2024

@Xiaoyi-Qu yes that's correct unfortunately we don't currently have a way of finding problems with equality constraints.

from pycutest.

jfowkes avatar jfowkes commented on August 18, 2024

Thanks @lindonroberts, will change it to fixed, should probably also do a new minor release afterwards.

from pycutest.

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.