Format problem-optimization software (equal sign and greater than or equal sign)

Source: Internet
Author: User
Someone asked me last month that the expressions of constrains in general optimization software only show equal signs and greater than or equal to signs. If there are actual constraints that are greater than or not equal to, how can we deal with them. (I am a single person in the case of continuous issues ).
I didn't know how to answer the question at the beginning. I forgot how to solve the problem. ProgramBut think carefully about this in the OPT tool of MATLAB. Such a large company will not ignore this issue.
I finally want to understand it!
There seems to be no difference between a greater than and a greater than or equal to, such as 0.001> 0, 0.0000001> 0, 0.000000001 = 0?
The key to greater than and greater than or equal to is whether it can be equal to 0. If the solution to your problem cannot be equal to 0, and the solution you obtain is 0, you can change 0 to 0.000001 or a pretty good approximate solution, it is a good feasible solution, but what does it mean? Most of the time, your model has problems.
Another case is that Q (x) appears on the denominator, so Q (x )! = 0, but Q (x) = 0.00000001 has the same effect,
The computer font length is limited, so you only have to look for the numerical processing skills to see how to change the function format ..

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.