octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60873] Feature request: combine system and dl


From: anonymous
Subject: [Octave-bug-tracker] [bug #60873] Feature request: combine system and dlmread if viable
Date: Fri, 2 Jul 2021 15:02:48 -0400 (EDT)
User-agent: Mozilla/5.0 (Android 8.0.0; Mobile; rv:89.0) Gecko/89.0 Firefox/89.0

Follow-up Comment #2, bug #60873 (project octave):

The external program is a solver that is returning all the solutions to a
problem instance. Each solution can have any number of variables that are set
to true, and only those are printed. The false variables are suppressed
otherwise each solution would have tens of thousands of variables being listed
instead of the much smaller number of true variables. The length of each
solution can be anywhere from 8 to 300 elements, all separated by spaces, one
solution per line. Each element is a positive integer being the index of the
true variable in question. The variables can be written on each line in any
order that they were set true inside the solver (analogous to depth-first
search order) not necessarily sorted.

Textscan can read the whole thing as a string, and then be converted into a
long 1D vector of integers, but then it can't be converted to a list of
solutions to the problem because the length of each solution isn't known ahead
of time.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60873>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]