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

Issue with string parsing into Quadratic objective function #46

@ilucas75

Description

@ilucas75

Hi,

I'am trying to parse a string into quadratic objective function.

this is the expression : 0.5(63x0.012 + 1.41724668855095x² +39.69)
and there are the constraints : x0.2 + 6.3 = 0 and x + 63- 1 = 100

systematically the parsing does not work.

First I thought it was because my decimal separator was comma instead of point, but after modifications, still does not work.

I have tried to parse a very simple expression as "2x² -5" but does not work too.

I am looking for some help : parsing expression regarding the white space, the signs, the coefficients position ....

Thank you so much for any help.

Regards,

Iris

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions