Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Reagarding non linear optimization problem

조회 수: 3 (최근 30일)
Parikshit  Sharma
Parikshit Sharma 2017년 9월 20일
마감: MATLAB Answer Bot 2021년 8월 20일
To solve a optimization problem with non linear and mixed integer constraint optimization tool is showing me to use population type double type vector. What is this double type vector and why i am no able to use use bit string? For Mixed integer, non linear, non quadratic programming which population type should i use in optimization tool. please reply. Thanking you in advance.
  댓글 수: 4
Rik
Rik 2017년 9월 20일
It is not entirely clear to me what it is you are trying to do, nor what your exact problem is. Have you followed the suggestions from here?
Brendan Hamm
Brendan Hamm 2017년 9월 20일
As a correction to the above, double precision uses 8-bytes or 64-bits to store a single value. It is the standard NUMERIC data type in MATLAB. A bit-string is not actually a string (or char), it is a constraint in the Genetic Algorithms for the population type to force the value to be 0 or 1, but it will still be a numeric double.
You cannot use the bitstring with a constrained problem: https://www.mathworks.com/help/gads/genetic-algorithm-options.html#f14223
There are ways however to write your own population creation, mutation and crossover functions to achieve this goal. If you would be so kind as to elaborate on the specific problem, I would be happy to help solve this.

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by