Beginner problem (Pyomo - Nevergrad)

48 views
Skip to first unread message

Martiene Ubbens

unread,
Feb 4, 2023, 12:22:09 AM2/4/23
to Pyomo Forum
Dear community,

I am attempting to solve simple example 1.2.1 from the Pyomo textbook with Nevergrad. This is the code:

PyomoBeginner.png
I receive the following warnings:
- RuntimeWarning: invalid value encountered in true_divide reduced = value / self.sigma.value (3x)
- WARNING (W1001): Setting Var 'x_1' to a value `nan` (float) not in domain NonNegativeReals. WARNING (W1001): Setting Var 'x_2' to a value `nan` (float) not in domainNonNegativeReals. (endlessly)

Could some please help me?
Thanks a lot in advance!
Kind regards,
Martiene


Jonathan Nowacki

unread,
Aug 18, 2023, 2:20:31 PM8/18/23
to Pyomo Forum
What textbook are you using?
Reply all
Reply to author
Forward
0 new messages