mirror of
https://github.com/Brandon-Rozek/matmod.git
synced 2025-07-29 20:52:01 +00:00
Flush print
This commit is contained in:
parent
6639344280
commit
4cccdc85b9
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ from vsp import has_vsp, VSP_Result
|
|||
|
||||
def print_with_timestamp(message):
|
||||
current_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||
print(f"[{current_time}] {message}")
|
||||
print(f"[{current_time}] {message}", flush=True)
|
||||
|
||||
def restructure_solutions(solutions: Iterator[Tuple[Model, Dict[Operation, ModelFunction]]], skip_to: Optional[str]) -> \
|
||||
Iterator[Tuple[Model, ModelFunction, Optional[ModelFunction], Optional[ModelFunction], Optional[ModelFunction]]]:
|
||||
|
|
Loading…
Add table
Reference in a new issue