question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Describe your issue.

scipy.optimize.linprog maximizes $c^T x$

Reproducing Code Example

Please visit the following link 

https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.linprog.html

It says "Linear programming: minimize a linear objective function" but it seems maximizing instead.

Error message

https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.linprog.html

says "Linear programming: minimize a linear objective function" but it seems maximizing instead.

SciPy/NumPy/Python version information

Date: August 01, 2021 Version: 1.7.1

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
mdhabercommented, Oct 16, 2021

@kangwonlee could you please post example code that demonstrates the problem you are experiencing?

0reactions
kangwonleecommented, Oct 18, 2021

@mdhaber

I checked my code again. Seems moving the negative sign to c_T seems working and also, the scipy.optimize.linprog() seems minimizing the cost function.

Thanks for your opinion.

Good day.

KW

Read more comments on GitHub >

github_iconTop Results From Across the Web

bug
(entomology) An insect of the order Hemiptera (the “true bugs”). Any of various species of marine or freshwater crustaceans; e.g. a Moreton Bay...
Read more >
Bug Definition & Meaning
The meaning of BUG is any of an order (Hemiptera and especially its suborder Heteroptera) of insects (such as an assassin bug or...
Read more >
Bug (2006)
An unhinged war veteran holes up with a lonely woman in a spooky Oklahoma motel room. The line between reality and delusion is...
Read more >
Bug
A terrestrial arthropod animal (with at least six legs). Insect, a six-legged arthropod · Covert listening device, used in surveillance, espionage and policing ......
Read more >
BUG | definition in the Cambridge English Dictionary
bug noun (INSECT) ... an insect: Some tiny white bugs had eaten the leaves of my house plants. ... A bug is also...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found